User Guide

blend (Sprite) 657
Description
3D backdrop, overlay, and #standard shader property; indicates the opacity of the backdrop,
overlay, or shader.
Setting the
blend property of a shader will have no effect unless the shaders transparent
property is set to
TRUE.
The range of this property is 0 to 100, and the default value is 100.
Example
This statement sets the blend property of the shader for the model named Window to 80. If the
transparent property of Windows shader is set to TRUE, the model will be slightly transparent.
member("House").model("Window").shader.blend = 80
See also
bevelDepth, overlay, shadowPercentage, transparent
blend (Sprite)
Usage
-- Lingo syntax
spriteObjRef.blend
// JavaScript syntax
spriteObjRef.blend;
Description
Sprite property; returns or sets a sprites blend value, from 0 to 100, corresponding to the blend
values in the Sprite Properties dialog box. Read/write.
The possible colors depend on the colors available in the palette, regardless of the monitors
color depth.
For best results, use the blend ink with images that have a color depth greater than 8-bit.
Example
The following statement sets the blend value of sprite 3 to 40 percent.
-- Lingo syntax
sprite(3).blend = 40
// JavaScript syntax
sprite(3).blend = 40;
This statement displays the blend value of sprite 3 in the Message window:
-- Lingo syntax
put(sprite(3).blend)
// JavaScript syntax
put(sprite(3).blend);
See also
blendLevel, Sprite