InputBinding¶
Not yet Class
Defines which hardware binding should trigger the parent InputAction.
Not implemented yet
This class exists in the current Roblox API but is not implemented in Nova yet. Scripts that reference it will fail at runtime.
0 Nova members · 29 modern Roblox members not implemented yet
Description¶
An InputBinding defines which hardware binding should trigger the parent
InputAction, for example a key press, gamepad button, or tap on a
touch‑enabled device. There can be multiple InputBinding instances parented
to an InputAction.
Inheritance¶
Object → Instance → InputBinding
Properties¶
| Member | Signature | Summary |
|---|---|---|
Backward |
Backward: KeyCode |
Specifies an alternate KeyCode for dispatching directionally "backward" inputs to the parent InputAction. |
ClampMagnitudeToOne |
ClampMagnitudeToOne: bool |
Specifies how the binding normalizes composite directional input to a maximum magnitude of 1. |
DisplayImage |
DisplayImage: Content |
Custom image asset to display for this binding. |
DisplayName |
DisplayName: string |
Custom display text for this binding. |
Down |
Down: KeyCode |
Specifies an alternate KeyCode for dispatching directionally "down" inputs to the parent InputAction. |
Forward |
Forward: KeyCode |
Specifies an alternate KeyCode for dispatching directionally "forward" inputs to the parent InputAction. |
KeyCode |
KeyCode: KeyCode |
Specifies the KeyCode which triggers the parent InputAction. |
Left |
Left: KeyCode |
Specifies an alternate KeyCode for dispatching directionally "left" inputs to the parent InputAction. |
PointerIndex |
PointerIndex: int |
— |
PressedThreshold |
PressedThreshold: float |
Numerical value above which to fire an InputAction with a Type of Bool. |
PrimaryModifier |
PrimaryModifier: KeyCode |
Specifies a primary KeyCode that must be pressed for the binding to activate. |
ReleasedThreshold |
ReleasedThreshold: float |
Numerical value below which to fire an InputAction with a Type of Bool. |
ResponseCurve |
ResponseCurve: float |
Numerical value to configure scaling for more precise thumbstick aiming. |
Right |
Right: KeyCode |
Specifies an alternate KeyCode for dispatching directionally "right" inputs to the parent InputAction. |
Scale |
Scale: float |
Scalar multiplier applied uniformly to all components of a directional InputAction's output. |
SecondaryModifier |
SecondaryModifier: KeyCode |
Specifies a secondary KeyCode that must be pressed for the binding to activate. |
Type |
Type: InputBindingType |
Determines whether this binding is triggered by hardware input or programmatically via Fire(). |
UIButton |
UIButton: GuiButton |
Connects a GuiButton to a boolean action. |
UIModifier |
UIModifier: GuiButton |
Specifies a GuiButton that must be active for the binding to activate. |
Up |
Up: KeyCode |
Specifies an alternate KeyCode for dispatching directionally "up" inputs to the parent InputAction. |
Vector2Scale |
Vector2Scale: Vector2 |
Per-component scale applied to the output of a Direction2D action. |
Vector3Scale |
Vector3Scale: Vector3 |
Per-component scale applied to the output of a Direction3D action. |
Methods¶
| Member | Signature | Summary |
|---|---|---|
Fire |
InputBinding:Fire(state: Variant): null |
Programmatically updates the parent InputAction state through this binding. |
Roblox reference: InputBinding
Generated from Nova's API dump and Roblox creator-docs. Nova-only members come from the engine's reflection metadata.