Skip to content
jackcarey edited this page Jul 16, 2022 · 1 revision

Type: Int

The index of the gamepad.

Example

var controller = Controller.getController(0);
console.log(controller.index);

>> 0
Clone this wiki locally