SetWebSurfaceGlow
How much a web surface shines by itself.
0 to 1: 0 lets the world’s light alone light it (a board on a wall goes dark at night), 1 makes it as bright as its page is drawn, day or night (a screen, a lit sign).
Syntax
Section titled “Syntax”SetWebSurfaceGlow(id, glow)| Parameter | Type | |
|---|---|---|
id |
number | the surface |
glow |
number | 0-1 |
Returns
Section titled “Returns”true, or false when id is no surface
Example
Section titled “Example”SetWebSurfaceGlow(sign, IsNight() and 1 or 0)See also
Section titled “See also”CreateWebSurface · the Web surfaces group of the index
