Trail
self:set_visible
ClientSets whether the trail is visible
Syntax
local status = self:set_visible(
visible
)Parameters
| Type | Name | Description |
|---|---|---|
bool | visible | true to show the entity, false to hide it |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
local entity = particle.trail.create()
entity:set_visible(false)