immersive-home/app/lib/events/event_focus.gd
2024-03-17 00:14:31 +01:00

8 lines
255 B
GDScript

extends Event
## Emitted when a Node with the `ui_focus` group is focused or unfocused.
class_name EventFocus
## The Node that is being focused or unfocused.
var target: Node
## The Node that was previously focused or unfocused.
var previous_target: Node