object.blendMode

Type String
Object DisplayObject
Library display.*
Revision 2017.3060
Keywords additive blends, blend mode, blending

Overview

Allows you to change the blend mode on a specific object.

See fill.blendMode for a complete list of blend modes.

Examples

local laser = display.newImage( "blendmode_laser.png" )
laser.blendMode = "add"