How can I select nodes in game?

Godot Version
Godot 3.6

Question
Hi,
I’m working on a mechanic for my game decks.bat where I want to procedurally generate weapons. The idea is to select two or three cards and pass them to a function like:
Generate_weapon(card_1, card_2)
Now how can I do it :expressionless:

Area2D (and other collision bodies) have a input_event signal you can connect to to detect mouse clicks on the area.

1 Like

Thanks let me see :slight_smile: