Lingo Dictionary > S > sprite

 

sprite

Syntax

sprite(whichSprite).property
the property of sprite whichSprite

Description

Keyword; tells Lingo that the value specified by whichSprite is a sprite channel number. It is used with every sprite property.

A sprite is an occurrence of a cast member in a sprite channel of the Score.

This term has special meaning in the Director player for Java. Don't use the term sprite in Java code that you embed within a Lingo script.

Example

This statement sets the variable named horizontal to the locH of sprite 1:

horizontal = sprite(1).loc

Example

This statement displays the current member in sprite channel 100 in the Message window:

put sprite (100).member

See also

puppetSprite, spriteNum