currentTime

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
set the currentTime of <player> to <number>
Associationsplayer
Summary

Specifies the elapsed time in a movie or sound.

Introduced1.0
OSmac, windows, linux
Platformsdesktop, server
Example
set the currentTime of player "Open Door" to 300
Values
NameTypeDescription
Value

The currentTime of a player is an integer between zero and the player's duration.

RelatedKeyword: integer, player
Property: currentFrame, callbacks, duration
Message: playPaused, playStarted
Command: start, play
Object: player
Glossary: property
Description

Use the currentTime property during playing to find out the progress of the movie or sound, or to skip ahead or back.

The currentTime is the number of the interval where the current position is.

The number of intervals per second is specified by the player's timeScale property. The total number of intervals is given in the player's duration property.

Tagsmultimedia