The callback. Each tile in the given area will be passed to this callback as the first and only parameter.
The context under which the callback should be run.
The left most tile index (in tile coordinates) to use as the origin of the area to filter.
The top most tile index (in tile coordinates) to use as the origin of the area to filter.
How many tiles wide from the tileX index the area will be.
How many tiles tall from the tileY index the area will be.
Optional filters to apply when getting the tiles.
The Tilemap Layer to act upon.
Find the first tile in the given rectangular area (in tile coordinates) of the layer that satisfies the provided testing function. I.e. finds the first tile for which
callbackreturns true. Similar to Array.prototype.find in vanilla JS.