Gets the current draw colour.


GML Code Example


Returns: Real


This function returns the current draw colour which is used for drawing forms, text, primitives and un-textured 3D models. This can be set with the draw_set_colour function.


GML Code Example

if draw_get_colour() != c_black

The above code first checks the current draw colour and then if it is not set to c_black it sets it to c_black.

No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here