Hi there, jumping in on this thread as I'm trying the same thing.
I made an Area2D pick-able.
I then connected the
input_event signal to my own function as so:
func _on_Area2DL_input_event( viewport, event, shape_idx ):
print("viewport: ", viewport)
print("event: ", event)
print("shape_idx: ", shape_idx)
emulate_touchscreen turned on and when I click on the Area2D none of the print statements show anything (as in they don't trigger at all).
I'm guessing I'm misunderstanding this? Can you or anyone explain what I'm doing wrong?
EDIT: I added a collision shape (rectangle) as a child of the Area2D and it worked. I don't fully understand that but I'll have a think and a read to make sense of it all.