Getting a specific tilemap tile with collision + adding custom data (Paper2D)

So i took your idea about saving an index and did the following:

  1. Added a user tag to a tile to indicate its a starting tile
  2. when the player spawns check all tiles for the starting tile, save its index and place the player there
  3. Since my movement is tile based i update the tile index when the player moves