6 lines
144 B
GDScript
6 lines
144 B
GDScript
extends Popup
|
|
|
|
func _gui_input(event):
|
|
if event is InputEventMouseButton:
|
|
if event.button_index == BUTTON_LEFT and !event.pressed:
|
|
hide()
|