I can't seem to limit the mouse click event to a single event.
I have tried numerous solutions posted for GODOT 3.5 and none have worked.
Has there been a change?
func _input(event):
if event is InputEventMouseButton:
if event.button_index == MOUSE_BUTTON_LEFT:
if event.is_pressed() && not event.is_echo():
print("Left button was clicked at ", event.position)
Some examples on the net say to use is_just_pressed().
Where is the function is_just_pressed()? It doesn't seem to exist for event.