GPU Particles

self:stop

Client

Stops emitting new particles — particles already alive finish their lifetime

Syntax

local status = self:stop()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Stop emitting
local entity = particle.gpu.create()

entity:emit()
entity:stop()

On this page