input map mouse click godit code example
Example: godot check left mouse button
if (event.is_pressed() and event.button_index == BUTTON_LEFT):
print("Wow, a left mouse click")
if (event.is_pressed() and event.button_index == BUTTON_LEFT):
print("Wow, a left mouse click")