Replacing all instances of a specific tile

Does anyone know if it is possible to select all instances of a particular tile and then replace those with a different tile?

There’s the following approach for tile layers:

  • Use the “Select Same Tile” tool to select all those tiles that you want to replace.
  • Use the “Bucket Fill” tool and hold the Shift modifier to make it fill the entire selection, to replace those tiles with the desired tile.

If you want to swap two tiles instead, you can select them both in the tileset view and then right-click and choose Swap Tiles from the context menu. The swapping also affects tile objects.

There’s unfortunately no way currently to select all tile objects that use a certain tile. Could be added with a little JavaScript though (same for the replacing in general).

Perfect! Thanks for that, It’s exactly what I needed.

1 Like