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

TypeNameDescription
boolresulttrue if the point light is visible, false otherwise

Examples

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

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

On this page