InputActionButton¶
Inherits InputAction
InputActionButton is a class that represents input action of button type.
Not newable
This object cannot be created by scripts using Instance.New().
Properties¶
Buttons : InputButtonCollection¶
Collection of button inputs.
IsPressed : boolean¶
Returns true if any of the button in the collection is currently being pressed.
Weight : number¶
Returns the current analog input of the button.
Events¶
Pressed¶
Parameters: ``
Fires when this button has been pressed
Released¶
Parameters: ``
Fires when this button has been released