Difference between revisions of "Particles:getParticlePosition"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2016.06<br/> === Description === get position of particle <source lang="lua"> (number) (number), = Particles:getParticlePosition(i,) <...")
 
Line 4: Line 4:
 
get position of particle
 
get position of particle
 
<source lang="lua">
 
<source lang="lua">
(number) (number), = Particles:getParticlePosition(i,)
+
(number), (number) = Particles:getParticlePosition(i)
 
</source>
 
</source>
'''i:''' (number) index of particle ''''''<br/>
+
'''i''': (number) index of particle ''''''<br/>
 
'''Returns''' (number) x position<br/>
 
'''Returns''' (number) x position<br/>
 
'''Returns''' (number) y position<br/>
 
'''Returns''' (number) y position<br/>

Revision as of 10:17, 23 August 2018

Available since: Gideros 2016.06

Description

get position of particle

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

'i: (number) index of particle '
Returns (number) x position
Returns (number) y position