Point Light
self:get_dimension
ClientRetrieves the dimension of the point light
Syntax
local dimension = self:get_dimension()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
int | dimension | Current dimension id |
Examples
local entity = light.point.create()
core.engine.print("info", "Point light dimension:", entity:get_dimension())