---
title: "source.setPlayhead: Set Source Playhead — Film kit command — Kition"
description: "Moves the Source monitor playhead to `time` ticks, `frame` (source frame) or `seconds`. Needs a clip open in the Source monitor."
canonical: "https://developer.kition.ai/docs/kits/film/commands/source.setPlayhead"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/film/commands/source.setPlayhead](https://developer.kition.ai/docs/kits/film/commands/source.setPlayhead)

# source.setPlayhead

**Set Source Playhead.** Moves the Source monitor playhead to `time` ticks, `frame` (source frame) or `seconds`. Needs a clip open in the Source monitor.

- Kit: Film 0.1.0 (.kfilm); reference: [Film kit commands](https://developer.kition.ai/docs/kits/film.md)
- Changes the document: yes

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `frame` | `integer` | no | one of several alternative parameters |
| `seconds` | `number` | no | one of several alternative parameters |
| `time` | `integer` | no | ticks (254016000000 per second); one of several alternative parameters |
| `timecode` | `string` | no | the time, as a timecode (one spelling of it) |

## Call through film_run

```text
film_run {
  "path": "<file>.kfilm",
  "steps": [{ "command": "source.setPlayhead" }]
}
```

The required parameters, with placeholders for their types: not a tested example. Optional: `frame`, `seconds`, `time`, `timecode`. film_run answers the step’s result in `completed[i].result`.

## Result

The kit gives no result schema for this command.

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "frame": {
      "description": "one of several alternative parameters",
      "type": "integer"
    },
    "seconds": {
      "description": "one of several alternative parameters",
      "type": "number"
    },
    "time": {
      "description": "ticks (254016000000 per second); one of several alternative parameters",
      "type": "integer"
    },
    "timecode": {
      "description": "the time, as a timecode (one spelling of it)",
      "type": "string"
    }
  },
  "type": "object"
}
```

Generated from the command list of @kition/film-darwin-arm64@0.1.0 and the kit itself (film_commands through @kition/cli@0.1.1, built from KitionAI/kition-film@375db59).
