Difference between revisions of "Particles:setParticlePosition"

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

Revision as of 13:38, 23 August 2018

Available since: Gideros 2016.06

Description

set position of particle

 Particles:setParticlePosition(i,x,y)

Parameters

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