Difference between revisions of "Particles:removeParticles"

From GiderosMobile
Line 6: Line 6:
  
 
remove all particles
 
remove all particles
`particles:removeParticles()`
+
''particles:removeParticles()''
  
 
or remove specific partilces:
 
or remove specific partilces:
  
`particles:removeParticles({1,2,3})`
+
''particles:removeParticles({1,2,3})''
  
 
or
 
or
  
`particles:removeParticles(1,2,3)`</translate>
+
''particles:removeParticles(1,2,3)''</translate>
 
<source lang="lua">
 
<source lang="lua">
 
  Particles:removeParticles(particle indeces)
 
  Particles:removeParticles(particle indeces)

Revision as of 09:37, 24 August 2018

Available since: Gideros 2016.06
Class: Particles

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)

Parameters

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