Table of Contents

SoundChannel:getPosition

Available since version: Gideros 2011.6

Description:

If the sound is playing, getPosition returns the position of the current playback, measured in miliseconds from the start of the sound.
If the sound is not playing (paused or stopped), getPosition returns the last point that was played.

Syntax:

(number) = SoundChannel:getPosition()

Return value:

  • number: The position of the sound in miliseconds.