self:is_visible
Client
Checks whether the point light is set as visible
Syntax
local result = self:is_visible()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
bool | result | true if the point light is visible, false otherwise |
Examples
local entity = light.point.create()
core.engine.print("info", "Point light visible:", entity:is_visible())