gfx.env.get_background_color
Client
Retrieves the current background color of the environment
Syntax
local result = gfx.env.get_background_color()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
color | result | Background color as {r, g, b, a} |
Examples
core.engine.print("info", "Background color:", util.table.unpack(gfx.env.get_background_color()))