DecayKnowledgebase
functiongenerated

Gamepad.is_down

Whether a controller button is held. Buttons are named by position, so "south" is the bottom face button on every make of controller.

Signature

Gamepad.is_down(slot: number, button: String) -> bool

Member of Gamepad

Source
docs/generated/decay-api.json
Schema
v1
Engine version
0.1.0
Source commit
909aca81368b