currentTime

Specifies the elapsed time in a movie or sound.

# Metadata

Platforms: desktop, server OS: mac, windows, linux Introduced: 1.0 Security:

# Syntax

set the currentTime of player to number

# Examples

set the currentTime of player "Open Door" to 300

# 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 duration property.

# Tags

# See

- **keyword:** integer, player - **property:** currentFrame, callbacks, duration - **message:** playPaused, playStarted - **command:** start, play - **object:** player - **glossary:** property