GPU Particles
self:stop
ClientStops emitting new particles — particles already alive finish their lifetime
Syntax
local status = self:stop()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
local entity = particle.gpu.create()
entity:emit()
entity:stop()