- Documentation
- Server functions
- getWorldProperty
Function
getWorldProperty
Returns the numbers stored under a name with setWorldProperty.
Syntax
float, float, float getWorldProperty(string property)Arguments
propertystring- Property name.
Returns
Three numbers, or false when not set.
Example
local r, g, b = getWorldProperty("AmbientColor")