Gamepad Get Count


You can use this action to get the number of gamepads connected to the device running your game. The number returned will be between 0 and 12.

Action Syntax:

Gamepad Get Count Syntax


Argument Description
Target The target variable to store the returned value in.


Gamepad Get Count Example
The above action block code gets the number of gamepads connected and assigns the value to a temporary local variable. This is then checked to see if it is more than 0 and a global variable set accordingly.