Difference between revisions of "Particles:getParticlePosition"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | '''Available since:''' Gideros 2016.06<br/> | + | '''<translate>Available since</translate>:''' Gideros 2016.06<br/> |
− | === Description === | + | === <translate>Description</translate> === |
<translate>get position of particle</translate> | <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 === | + | === <translate>Parameters</translate> === |
'''i''': (number) <translate>index of particle</translate> <br/> | '''i''': (number) <translate>index of particle</translate> <br/> | ||
− | === Return values === | + | === <translate>Return values</translate> === |
− | '''Returns''' (number) <translate>x position</translate><br/> | + | '''<translate>Returns</translate>''' (number) <translate>x position</translate><br/> |
− | '''Returns''' (number) <translate>y position</translate><br/> | + | '''<translate>Returns</translate>''' (number) <translate>y position</translate><br/> |
Revision as of 07:27, 24 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