immersive-home/app/lib/events/event_bubble.gd

8 lines
261 B
GDScript3
Raw Normal View History

2023-11-22 02:44:07 +02:00
extends Event
2024-03-17 01:14:31 +02:00
## Abstract Event to represent events that move "bubble" up the Node tree.
2023-11-22 02:44:07 +02:00
class_name EventBubble
2024-03-17 01:14:31 +02:00
## If set to false, the event will stop bubbling up the Node tree.
2023-11-22 02:44:07 +02:00
var bubbling := true
2024-03-17 01:14:31 +02:00
## The Node that caused the event to start.
2023-11-22 02:44:07 +02:00
var target: Node