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

TypeNameDescription
boolresulttrue if the area light is visible, false otherwise

Examples

Check visibility of a area light
local entity = light.area.create()

core.engine.print("info", "Area light visible:", entity:is_visible())

On this page