# SeekMusicOGG

## Description

Seeks to a given time value, if the file is currently playing then it will immediately continue playing from there. If the file is not currently playing then it will take effect after the next call to PlayMusicOGG. The mode parameter lets you choose whether to seek based on an absolute or relative time value. Absolute will seek to that position in the file, whilst relative will seek relative to the current position.

## Definition

SeekMusicOGG( musicID, seconds, mode )

void agk::SeekMusicOGG( UINT musicID, float seconds, int mode )

## Parameters

- musicID - The ID of the music file to seek
- seconds - The time in seconds to seek to
- mode - 0 for absolute seeking, 1 for relative seeking