# Set Track Position / Seek

{% hint style="warning" %}
This action requires a [Premium Subscription](/premium/premium-and-priority-hosting-plans.md#premium-plans) to function.
{% endhint %}

<figure><img src="/files/yMnfmP7x0rMRGoOh5503" alt="" width="411"><figcaption></figcaption></figure>

The Set Track Position / Seek block allows you to set the position in the currently playing track to an absolute position, or relative to the current position in the song.

## Server

This setting allows you to target a server. You have two options to select from:

{% tabs %}
{% tab title="Current Server" %}

<figure><img src="/files/AwoU2UKcfbmtcE9P6qob" alt=""><figcaption></figcaption></figure>

When you select the 'Current Server' option, the track position of the music playing in the current server will be changed.&#x20;
{% endtab %}

{% tab title="Server ID" %}

<figure><img src="/files/BL5Y9J0bEnnF8I9pqxZZ" alt=""><figcaption></figcaption></figure>

When you select the 'Server ID' option, the track position of the music playing in the provided server ID will be changed.

### Server ID

In this field you can enter the ID of the server where you want to change the track position. Variables can be used in this field.&#x20;
{% endtab %}
{% endtabs %}

## Mode

This setting allows you to choose whether to set the absolute position in the track, or seek relative to the song's current position.

{% tabs %}
{% tab title="Set Position" %}

<figure><img src="/files/rZTmSVTz2iaq7YsjCho1" alt="" width="403"><figcaption></figcaption></figure>

Set Position allows you to set the exact position in the song.&#x20;

### Position (Milliseconds)

In this field you can set what position in the song you want to skip to in milliseconds. For example, setting this to `60000` would skip to one minute into the song. Remember that 1 second is equal to 1000 milliseconds.
{% endtab %}

{% tab title="Seek (Relative)" %}

<figure><img src="/files/pTy8Ye1OWsOUGtEafbR8" alt=""><figcaption></figcaption></figure>

Seek (Relative) allows you to seek forward or backward relative to the current position of the song.

### Time Offset (Milliseconds)

In this field, you can set the time offset in milliseconds that you would like to seek to. For example, setting this to `10000` would skip forward 10 seconds, or setting this to `-5000` would rewind by 5 seconds. Remember that 1 second is equal to 1000 milliseconds.
{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.botghost.com/custom-commands-and-events/actions/music-actions/set-track-position-seek.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
