Difference between revisions of "Controller:getPlayerCount"
From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>") |
|||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
=== Description === | === Description === | ||
Returns amount of connected controllers. | Returns amount of connected controllers. | ||
− | < | + | <syntaxhighlight lang="lua"> |
(number) = Controller:getPlayerCount() | (number) = Controller:getPlayerCount() | ||
− | </ | + | </syntaxhighlight> |
=== Return values === | === Return values === |
Latest revision as of 14:27, 13 July 2023
Available since: Gideros 2014.01
Class: Controller
Description
Returns amount of connected controllers.
(number) = Controller:getPlayerCount()
Return values
Returns (number) amount of connected controllers