Controller:isDown

Returns the state of a button on the Controller.

down = Controller:isDown(button)

Arguments

NameTypeDescription
buttonControllerButtonThe button to query.

Returns

NameTypeDescription
downbooleanThe current state of the button.

See also