---
title: "timeline.setTargeting: Track Targeting — Film kit command — Kition"
description: "Turns track targeting (`targeted`, used by paste, match frame and edit navigation) and/or source patching (`sourcePatch`, where source.insert/overwrite land) on or off for `track`."
canonical: "https://developer.kition.ai/docs/kits/film/commands/timeline.setTargeting"
---

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

# timeline.setTargeting

**Track Targeting.** Turns track targeting (`targeted`, used by paste, match frame and edit navigation) and/or source patching (`sourcePatch`, where source.insert/overwrite land) on or off for `track`.

- 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 |
| --- | --- | --- | --- |
| `sourcePatch` | `boolean` | no |  |
| `targeted` | `boolean` | no |  |
| `track` | `string \| integer` | no | "V1"\|id |

## Call through film_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: `sourcePatch`, `targeted`, `track`. 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": {
    "sourcePatch": {
      "type": "boolean"
    },
    "targeted": {
      "type": "boolean"
    },
    "track": {
      "description": "\"V1\"|id",
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "integer"
        }
      ],
      "x-khp-types": [
        "Track"
      ]
    }
  },
  "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).
