frame-of-mind/src/logic-scenes/main menu/Main Menu.gd

13 lines
275 B
GDScript3
Raw Normal View History

extends Panel
@onready var has_focus = true:
set(focus):
if focus:
has_focus = State.request_focus(self)
else:
has_focus = false
State.drop_own_focus(self)
2023-06-05 09:39:30 +00:00
func yeet():
get_parent().remove_child(self)