Which player clicked the area2d

Godot Version

4.2.1

Question

So I (a total noob) am trying to make a multiplayer strategy game. I would like the players to be able to interact with scenes via mouse clicks. I have setup the Area2d that detects mouse clicks, but i don’t know how to differentiate between the clicks of different players.

If the solution includes code, I would be really grateful if it’s written in c#, but gd script works fine too.
Thanks in advance. :upside_down_face:

There can only be one mouse on a computer. So, you don’t need to do anything more with input, as the mouse will register separately for each players computer.

If you need to logically tell the other players who has a node. I would indicate on the pickable area who is currently holding it, using the multiplayer id of the person who claimed the node.

Thank you very much!