Controller
Show Deprecated
Not Creatable
The base class for controller objects, such as the HumanoidController object.
Summary
Properties
Properties inherited from Instance
Methods
Activates an overriding bind on the specified button.
Methods inherited from Instance
Events
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.
Events inherited from Instance
Properties
Properties inherited from Instance
Methods
BindButton
void
Returns
void
Code Samples
Controller:BindButton1
local ControllerService = game:GetService("ControllerService")
local humanoidController = ControllerService:FindFirstChildOfClass("HumanoidController")
humanoidController:BindButton(Enum.Button.Dismount, "win!")
Methods inherited from Instance
Events
ButtonChanged
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.
Events inherited from Instance