-
Notifications
You must be signed in to change notification settings - Fork 0
Draw_get_color
hpgDesigns edited this page Aug 8, 2021
·
1 revision
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);This is number 1