Difference between revisions of "Controller:getPlayerCount"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2014.01<br/>
 
'''Available since:''' Gideros 2014.01<br/>
 
=== Description ===
 
=== Description ===
Returns amount of connected controllers
+
<translate>Returns amount of connected controllers</translate>
 
<source lang="lua">
 
<source lang="lua">
 
(number) = Controller:getPlayerCount()
 
(number) = Controller:getPlayerCount()
 
</source>
 
</source>
 
=== Return values ===
 
=== Return values ===
'''Returns''' (number) amount of connected controllers<br/>
+
'''Returns''' (number) <translate>amount of connected controllers</translate><br/>

Revision as of 13:35, 23 August 2018

Available since: Gideros 2014.01

Description

Returns amount of connected controllers

(number) = Controller:getPlayerCount()

Return values

Returns (number) amount of connected controllers