Difference between revisions of "Particles:setParticlePosition"

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

Revision as of 10:17, 23 August 2018

Available since: Gideros 2016.06

Description

set position of particle

 Particles:setParticlePosition(i,x,y)

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