immersive-home/docs/development/event-system.md

642 B

Event System

While Godot ships with it's own event system, we have implemented our own event system to make it more similar to the event system in Browsers and to streamline event handling in the app.

Full reference can be found in the Event System documentation.

Focus handling

By default, every Node that has the ui_focus group is able to receive focus. When a node receives focus, the _on_focus_in(event: EventFocus) method is called. When a node loses focus, the _on_focus_out(event: EventFocus) method is called.