Difference between revisions of "Particles:removeParticles"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2016.06<br/> === Description === Remove particles by index in table or as arguments remove all particles `particles:removeParticles()...")
 
Line 15: Line 15:
 
`particles:removeParticles(1,2,3)`
 
`particles:removeParticles(1,2,3)`
 
<source lang="lua">
 
<source lang="lua">
= Particles:removeParticles(particle indeces,)
+
Particles:removeParticles(particle indeces)
 
</source>
 
</source>
'''particle indeces:''' (table or arguments) table or arguments of indexes to remove ''''''<br/>
+
'''particle indeces''': (table or arguments) table or arguments of indexes to remove ''''''<br/>

Revision as of 10:21, 23 August 2018

Available since: Gideros 2016.06

Description

Remove particles by index in table or as arguments

remove all particles `particles:removeParticles()`

or remove specific partilces:

`particles:removeParticles({1,2,3})`

or

`particles:removeParticles(1,2,3)`

 Particles:removeParticles(particle indeces)

'particle indeces: (table or arguments) table or arguments of indexes to remove '