Hello,
Thank you for your reply.
I am currently raycasting on the map using Physics.Raycast and wish to ensure that the raycast specifically targets the map only, avoiding any unintended interaction with other colliders present in the scene. Typically, I would assign a layer mask to manage this; however, the map is on the default layer, which complicates the use of a layer mask for this purpose.
Could you advise on how to effectively set a unique layer for the map tiles or a way to ensure that the ray will not interact with other objects?