Lingo Dictionary > T-Z > type (sprite property) |  |

type (sprite property)

Syntax

    sprite(whichSprite).type
    the type of sprite whichSprite

Description

Sprite property; clears sprite channels during Score recording by setting the `type` sprite property value for that channel to 0.

Note: Switch the member of a sprite only to another member of the same type to avoid changing the sprite's properties when the member type is switched.

This property can be tested and set.

Example

This statement clears sprite channel 1 when issued during a Score recording session:

    sprite(1).type = 0