Area Light
self:set_visible
ClientSets the visibility of the area light
Syntax
local status = self:set_visible(
visible
)Parameters
| Type | Name | Description |
|---|---|---|
bool | visible | true to show the area light, false to hide it |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
local entity = light.area.create()
entity:set_visible(false)