Display
self:get_type
ClientRetrieves the type of the instance
Syntax
local type = self:get_type()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
string | type | Type name of the instance |
Examples
local entity = core.display.get_texture()
core.engine.print("info", entity:get_type()) -- "core.display"