draw_light_get_ambient

This function will return the current colour used for ambient lighting.

 

Syntax:

draw_light_get_ambient()

 

Returns:

Colour

 

Example:

light_col = draw_light_get_ambient();

The above code will get the current ambient light colour and store it in a variable.