Skip to content

EventAction ​

Inherits: Event

Description ​

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

Properties ​

NameTypeDefault
nameString
right_controllerbool
valueVariant

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