Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | mimimomo |
Is there an InputEvent for releasing a left mouse button click? Is there a more direct solution for my code?
Current solution:
“click” is set in the Input Map as a left mouse button click.
func _on_input_event(viewport, event, shape_idx):
if (event is InputEventMouseButton && event.is_action_released("click"):
# code
Thanks!