Difference between revisions of "Particles:removeParticles"

From GiderosMobile
Line 5: Line 5:
  
 
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 14:56, 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)

Parameters

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