Difference between revisions of "Particles:getParticlePosition"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2016.06<br/>
 
'''Available since:''' Gideros 2016.06<br/>
 
=== Description ===
 
=== Description ===
get position of particle
+
<translate>get position of particle</translate>
 
<source lang="lua">
 
<source lang="lua">
 
(number), (number) = Particles:getParticlePosition(i)
 
(number), (number) = Particles:getParticlePosition(i)
 
</source>
 
</source>
 
=== Parameters ===
 
=== Parameters ===
'''i''': (number) index of particle <br/>
+
'''i''': (number) <translate>index of particle</translate> <br/>
 
=== Return values ===
 
=== Return values ===
'''Returns''' (number) x position<br/>
+
'''Returns''' (number) <translate>x position</translate><br/>
'''Returns''' (number) y position<br/>
+
'''Returns''' (number) <translate>y position</translate><br/>

Revision as of 13:33, 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