How to detect if player click on area 2d

Godot Version



Hi, I’m trying to make game that player can click on specific objects but I don’t know how to detect clicks on area 2d

Area2D has a signal “input_event” and a overrideable function “_input_event”, both handle being clicked if it is set to “input_pickable”

1 Like

I can’t be too specific as I am fairly new to Godot, and never set up, mouse clicks, but if you have your scene up for editing you can click on the Node property

and you can see all of the “signals” that are available for that particular item. Other than that I am not much help. Sorry.

There are some real genuis’s here who should be able to guide you through though. One reason why I am replying is so I can learn about it as well.