immersive-home/docs/reference/EventFocus.md

32 lines
1008 B
Markdown
Raw Normal View History

2024-03-16 19:45:43 +02:00
# EventFocus
**Inherits:** [Event](/reference/Event.html)
2024-03-16 19:45:43 +02:00
2024-03-17 01:14:31 +02:00
## Description
2024-03-16 19:45:43 +02:00
2024-03-17 01:14:31 +02:00
Emitted when a Node with the `ui_focus` group is focused or unfocused.
2024-03-16 19:45:43 +02:00
## Properties
2024-03-17 01:14:31 +02:00
| Name | Type | Default |
| ---------------------------------------- | ------------------------------------------------------------------- | ------- |
| [previous_target](#prop-previous-target) | [Node](https://docs.godotengine.org/de/4.x/classes/class_node.html) | |
| [target](#prop-target) | [Node](https://docs.godotengine.org/de/4.x/classes/class_node.html) | |
2024-03-16 19:45:43 +02:00
2024-03-16 19:45:43 +02:00
## Property Descriptions
2024-03-17 01:14:31 +02:00
### previous_target: [Node](https://docs.godotengine.org/de/4.x/classes/class_node.html) {#prop-previous-target}
2024-03-16 19:45:43 +02:00
2024-03-17 01:14:31 +02:00
The Node that was previously focused or unfocused.
2024-03-16 19:45:43 +02:00
2024-03-17 01:14:31 +02:00
### target: [Node](https://docs.godotengine.org/de/4.x/classes/class_node.html) {#prop-target}
2024-03-16 19:45:43 +02:00
2024-03-17 01:14:31 +02:00
The Node that is being focused or unfocused.