self:is_visible
Client
Checks whether the area 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 area light is visible, false otherwise |
Examples
local entity = light.area.create()
core.engine.print("info", "Area light visible:", entity:is_visible())