Trail
self:get_type
ClientRetrieves the type name of the trail instance
Syntax
local result = self:get_type()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
string | bool | result | Type name of the instance, false if unavailable |
Examples
local entity = particle.trail.create()
core.engine.print("info", entity:get_type()) -- "particle.trail"