Skip to content

Controller

Supported Class Other NotCreatable

The base class for controller objects, such as the HumanoidController object.

Inheritance

Object → Instance → Controller

Nova inheritance: Instance → Controller

Known subclasses: HumanoidController, SkateboardController, VehicleController

Methods

BindButton Supported Function Activates an overriding bind on the specified button.
Controller:BindButton(Button button, string caption)

Activates an overriding bind on the specified button.

Roblox reference signature
Controller:BindButton(button: Button, caption: string): null

Roblox documentation

bindButton Supported Function Deprecated
Controller:bindButton(Button button, string caption)

No description available.

Roblox reference signature
Controller:bindButton(button: Button, caption: string): null
Nova behaviour: Nova keeps this legacy member for compatibility. Roblox's modern deprecation wording may describe later Roblox behaviour; verify it against Nova before relying on the copied text.

Roblox documentation

GetButton Supported Function Returns whether or not Button is being pressed.
Controller:GetButton(Button button): bool

Returns whether or not Button is being pressed.

Roblox reference signature
Controller:GetButton(button: Button): bool

Roblox documentation

getButton Supported Function Deprecated
Controller:getButton(Button button): bool

No description available.

Roblox reference signature
Controller:getButton(button: Button): bool
Nova behaviour: Nova keeps this legacy member for compatibility. Roblox's modern deprecation wording may describe later Roblox behaviour; verify it against Nova before relying on the copied text.

Roblox documentation

UnbindButton Supported Function Removes the bind on button.
Controller:UnbindButton(Button button)

Removes the bind on button.

Roblox reference signature
Controller:UnbindButton(button: Button): null

Roblox documentation

Events

ButtonChanged Supported Event Fired when the pressed state of a bound button is changed. This event can be used in conjunction with Controller.GetButton() to see whether a bound b…
ButtonChanged(Button button)

Fired when the pressed state of a bound button is changed. This event can be used in conjunction with Controller.GetButton() to see whether a bound button is being pressed down or not.

Roblox reference signature
ButtonChanged(button: Button)

Roblox documentation

Inherited members

Inherited from Instance: 8 properties, 36 methods, 7 events. They are documented on the base class page.

Roblox reference: Controller

Generated from Nova's API dump and Roblox creator-docs. Nova-only members come from the engine's reflection metadata.