|Attention||Topic was automatically imported from the old Question2Answer platform.|
Is there an InputEvent for releasing a left mouse button click? Is there a more direct solution for my code?
“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