image_alpha (Game Maker)

( Game Maker 6.1, 7 pro )

image_alpha - transparency of a sprite


image_alpha contains a value between 0 and 1. 0 is completely transparent (invisible), 1 is completely opaque, and numbers in between are grades of transparency.

Any value below 0 is still completely transparent, and any value above 1 is still completely opaque.


Example of Use

image_alpha = 0.5

This makes the sprite half-transparent.

Related Pages

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