Lingo Dictionary > S > startFrame

 

startFrame

Syntax

sprite(whichSprite).startFrame

Description

Function; returns the frame number of the starting frame of the sprite span.

This function is useful in determining the span in the Score that a particular sprite covers. It is available only in a frame that contains the sprite, and cannot be applied to sprites in different frames of the movie, nor is it possible to set this value.

Example

This statement displays the starting frame of the sprite in channel 5 in the Message window:

put sprite(5).startFrame

See also

endFrame()