Skip to content

Controller.controllerCount

jackcarey edited this page Jul 16, 2022 · 1 revision

Type: Int

The number of gamepads currently connected.

Example

console.log(Controller.controllerCount);

>> 2
Clone this wiki locally