Difference between revisions of "Particles:getParticlePosition"

From GiderosMobile
Line 6: Line 6:
 
(number), (number) = Particles:getParticlePosition(i)
 
(number), (number) = Particles:getParticlePosition(i)
 
</source>
 
</source>
'''i''': (number) index of particle ''''''<br/>
+
=== Parameters ===
 +
'''i''': (number) index of particle <br/>
 +
=== Return values ===
 
'''Returns''' (number) x position<br/>
 
'''Returns''' (number) x position<br/>
 
'''Returns''' (number) y position<br/>
 
'''Returns''' (number) y position<br/>

Revision as of 10:41, 23 August 2018

Available since: Gideros 2016.06

Description

get position of particle

(number), (number) = Particles:getParticlePosition(i)

Parameters

i: (number) index of particle

Return values

Returns (number) x position
Returns (number) y position