Trail

self:clear

Client

Removes the current trail

Syntax

local status = self:clear()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Reposition without a trail streaking across
local entity = particle.trail.create()

entity:set_global_position({10, 1, 0})
entity:clear()

On this page