mirror of
https://github.com/thegatesbrowser/thegates.git
synced 2025-08-24 11:17:26 -04:00
8 lines
188 B
GDScript
8 lines
188 B
GDScript
extends Control
|
|
|
|
|
|
func _input(event: InputEvent) -> void:
|
|
if (has_focus()
|
|
and event is InputEventMouseButton
|
|
and not get_global_rect().has_point(event.position)):
|
|
release_focus()
|