Trail

self:get_width

Client

Retrieves the width of the trail at its start

Syntax

local width = self:get_width()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
floatwidthTrail width at its start in world units

Examples

Get the trail width
local entity = particle.trail.create()

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

On this page