GPU Particles

self:is_emitting

Client

Checks whether the emitter is currently emitting

Syntax

local result = self:is_emitting()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
boolresulttrue if the emitter is emitting, false otherwise

Examples

Check whether an emitter is emitting
local entity = particle.gpu.create()

core.engine.print("info", entity:is_emitting())

On this page