Lingo Dictionary > D-F > endFrame() |  |

endFrame()

Syntax

    sprite(whichSprite).endFrame

Description

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

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

Example

This statement output reports the ending frame of the sprite in channel 5 in the Message window:

    put sprite(5).endFrame

See also

`startFrame`