sprite (Sprite Channel)

Usage

-- Lingo syntax
spriteChannelObjRef.sprite

// JavaScript syntax
spriteChannelObjRef.sprite;

Description

Sprite Channel property; returns a reference to the sprite in the current frame of a sprite channel. Read-only.

Example

This statement sets the variable mySprite to the sprite in the sprite channel named Ribbon.

-- Lingo syntax
mySprite = channel("Ribbon").sprite

// JavaScript syntax
var mySprite = channel("Ribbon").sprite;

See also

Sprite Channel