draw_set_color(col)

Drag & Drop equivalent : GM119

 

col = Either a built in colour or a user made colour.

 

Example:

draw_set_color(c_yellow);

 

You use this function to set the colour of following operations. There are built in colours that can be used:

 

c_aqua

c_black

c_blue

c_dkgray

c_fuchsia

c_gray

c_green

c_lime

c_ltgray

c_maroon

c_navy

c_olive

c_purple

c_red

c_silver

c_teal

c_white

c_yellow

 

or you can specify the exact colour by using the make_color_rgb or make_color_hsv function:

 

// Set the colour the same colour as this light yellow background

draw_set_color(make_color_rgb(254,252,224));

 

Revision #1