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

10 lines
358 B
GDScript

extends Event
## EventAction is emitted when the user presses a button or trigger on the controller.
class_name EventAction
## The name of the action that was triggered.
var name: String
## True if the right controller triggered the action, false if the left controller triggered the action.
var right_controller: bool
## Boolean, Float or Vector2
var value