I'm tring to detect whether or not the mouse is hovering over a certain position on the screen. At first I wanted to use an Area2D but this gives me errors regarding call_deffered() which I find hard to solve. I noticed that ColorRects also have a mouse_entered signal, however I can never get it to fire after connecting it. How do I solve this? To be clear, I have already checked the mouse filters in the ColorRect node. The node structure is set up as follows:
Node2D:
- ColorRect
- Sprite2D