Lingo Dictionary > A-C > blend |  |

blend

Syntax

    sprite(whichSprite).blend
    the blend of sprite whichSprite

Description

Sprite property; sets or determines a sprite's blend value, from 0 to 100, corresponding to the blend values in the Sprite Properties dialog box.

The possible colors depend on the colors available in the palette, regardless of the monitor's color depth.

The Director player for Java supports the `blend` sprite property for bitmap sprites only.

For best results, use the blend ink with images that have a color depth greater than 8-bit.

Example

This statement sets the blend value of sprite 3 to 40 percent.

Dot syntax:

    sprite(3).blend = 40

Verbose syntax:

    set the blend of sprite 3 to 40

Example

This statement displays the blend value of sprite 3 in the Message window:

    put the blend of sprite 3

See also

`blendLevel`