SetImageBlendMode

Category: Images and Rendering

Back to System Functions


Signature

SetImageBlendMode(imageReference As Integer, mode As Integer)

Returns

Void

Description

Sets the blend mode stored on an image. Newly queued sprites inherit the mode currently set on the image.

The mode argument should be a value from Blend Mode Constants.

Example

SetImageBlendMode(player, BLEND_ALPHA) SetImageBlendMode(glow, BLEND_ADDITIVE)