Controller:getPlayerCount: Difference between revisions

From GiderosMobile
m Text replacement - "<source" to "<syntaxhighlight"
m Text replacement - "</source>" to "</syntaxhighlight>"
 
Line 7: Line 7:
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
(number) = Controller:getPlayerCount()
(number) = Controller:getPlayerCount()
</source>
</syntaxhighlight>


=== Return values ===
=== Return values ===

Latest revision as of 13: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