When the player touches a particular tile, the player should react differently than an enemy would. I need to check which Tile ID the current collision comes from in order to perform this check.
Here’s a snippet of my stage game object with its tilemap (a root element):
My player is separate, of course (also a root element):
How would I go about getting the current tilemap’s URL from the player’s script if different tilemaps are loaded at different times?