blendMode property
The transfer mode used when drawing the sprite to screen.
// Add the colors of the sprite with the colors of the background
mySprite.blendMode = BlendMode.plusMode;
Implementation
BlendMode blendMode = BlendMode.srcOver;
The transfer mode used when drawing the sprite to screen.
// Add the colors of the sprite with the colors of the background
mySprite.blendMode = BlendMode.plusMode;
BlendMode blendMode = BlendMode.srcOver;