immersive-home/docs/reference/EventAction.md
2024-03-17 00:14:31 +01:00

1.3 KiB

EventAction

Inherits: Event

Description

EventAction is emitted when the user presses a button or trigger on the controller.

Properties

Name Type Default
name String
right_controller bool
value Variant

Property Descriptions

name: String

The name of the action that was triggered.

right_controller: bool

True if the right controller triggered the action, false if the left controller triggered the action.

value: Variant

Boolean, Float or Vector2