draw_get_color - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
NOTOC {{-}}
The draw color is the color used for drawing primitives. It is set using draw_set_color, and retrieved using this function.
none
Returns the draw color, whether it be the default or set by draw_set_color.
draw_set_color(c_red);
draw_circle(100, 100, 16, false);
oldcolor = draw_get_color();
draw_set_color(c_blue);
draw_circle(128, 128, 16, false);
draw_set_color(oldcolor);
draw_circle(164, 164, 16, false);