Skip to content

Controller.controllerCount

Samir Zahran edited this page Aug 30, 2016 · 1 revision

Type: Int

The number of gamepads currently connected.

Example

console.log(Controller.controllerCount);

>> 2
Clone this wiki locally