Controller:getPlayerCount

From GiderosMobile
Revision as of 14:26, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

Available since: Gideros 2014.01
Class: Controller

Description

Returns amount of connected controllers. <syntaxhighlight lang="lua"> (number) = Controller:getPlayerCount() </source>

Return values

Returns (number) amount of connected controllers