---
title: "movePlayhead(to:)"
framework: Professional Video Applications
role: symbol
role_heading: Instance Method
platforms: [fxplug 4.2+]
path: "professional_video_applications/fxcommandapi_v2/moveplayhead(to:)"
---

# movePlayhead(to:)

Moves the playhead to the desired time.

## Declaration

```swift
func movePlayhead(to playheadTime: CMTime) throws
```

## Parameters

- `playheadTime`: The time at which you want the playhead to be positioned.
