Scans the given rectangular area (given in tile coordinates) for tiles with an index matching
indexA and swaps then with
indexB. This only modifies the index and does not change collision
First tile index.
Second tile index.
The left most tile index (in tile coordinates) to use as the origin of the area.
The top most tile index (in tile coordinates) to use as the origin of the area.
How many tiles wide from the
How many tiles tall from the
The Tilemap Layer to act upon.