This doesn’t seem to work, I’ve tried both _on_Area2D_input_event(viewport, ev, shape_idx)
and _on_Area2D_mouse_entered(ev) and it prints nothing.
I’m talking about a Area2D child
YP | 2018-10-28 10:06
I’m talking about a Area2D child
Each child should have their own Area2D or collision type, if you want to click on it.
To be clicked on it needs something that can be clicked on.
edit:
Just to check that we are on the same page. The example above is a signal, it is no use if you directly copy and paste the code; you need to connect that signal.