<!--
{
  "availability" : [
    "FxPlug: 4.2.0 -",
    "macOS: 10.7.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "professional_video_applications",
  "identifier" : "/documentation/professional_video_applications/FxCommandAPI_v2/movePlayhead(to:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Professional Video Applications"
    ],
    "preciseIdentifier" : "c:objc(pl)FxCommandAPI_v2(im)movePlayheadToTime:error:"
  },
  "title" : "movePlayhead(to:)"
}
-->

# movePlayhead(to:)

Moves the playhead to the desired time.

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

## Parameters

`playheadTime`

The time at which you want the playhead to be positioned.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)