draw_set_alpha() (Game Maker)

draw_set_alpha()

(Game Maker 6.1, 7 Pro)

draw_set_alpha - set the transparency for drawing functions.

Description

draw_set_alpha ( alpha )

  • alpha - set the alpha (transparency) of all draw functions used after this is called.

Examples

Example of Use

draw_set_alpha(0.5);

The code in this example sets the alpha of all drawing functions called after it to 0.5.

Common Mistakes

Related Pages

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution 2.5 License.