2024-03-16 19:45:43 +02:00
|
|
|
# EventBubble
|
2024-03-17 00:05:55 +02:00
|
|
|
**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
|
|
|
Abstract Event to represent events that move "bubble" up the Node tree.
|
2024-03-16 19:45:43 +02:00
|
|
|
|
|
|
|
## Properties
|
|
|
|
|
2024-03-17 01:14:31 +02:00
|
|
|
| Name | Type | Default |
|
|
|
|
| -------------------------- | ------------------------------------------------------------------- | ------- |
|
|
|
|
| [bubbling](#prop-bubbling) | [bool](https://docs.godotengine.org/de/4.x/classes/class_bool.html) | `true` |
|
|
|
|
| [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-17 00:05:55 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-03-16 19:45:43 +02:00
|
|
|
## Property Descriptions
|
|
|
|
|
2024-03-17 01:14:31 +02:00
|
|
|
### bubbling: [bool](https://docs.godotengine.org/de/4.x/classes/class_bool.html) {#prop-bubbling}
|
2024-03-16 19:45:43 +02:00
|
|
|
|
2024-03-17 01:14:31 +02:00
|
|
|
If set to false, the event will stop bubbling up the Node tree.
|
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 caused the event to start.
|