Is there any code that can determine if cursor is colliding a tilemap collider?
I have not used tilemap, maybe OnMouseOver will work ?
its not about tilemaps. just think a collider
Hi @aybarsmete1
If you are using tilemap collider 2D, it has several methods that can help you to check if your cursor is overlapping collider. You could use overlap point for example:
Edit:
Collider2D.OverlapPoint takes world position, so convert you screen space cursor position into world position with Camera class methods.