Trail
self:set_global_position
ClientSets the global world-space position of the trail
Syntax
local status = self:set_global_position(
position
)Parameters
| Type | Name | Description |
|---|---|---|
vector3 | position | Global position to apply as {x, y, z} |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
local entity = particle.trail.create()
entity:set_global_position({0, 5, 10})