---
title: "graphics.setResponsiveTime: Responsive Design - Time — Film kit command — Kition"
description: "Sets a graphic clip's protected intro and outro (`introFrames`/`outroFrames` or seconds) that keep their timing when the clip is trimmed."
canonical: "https://developer.kition.ai/docs/kits/film/commands/graphics.setResponsiveTime"
---

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

# graphics.setResponsiveTime

**Responsive Design - Time.** Sets a graphic clip's protected intro and outro (`introFrames`/`outroFrames` or seconds) that keep their timing when the clip is trimmed.

- Kit: Film 0.1.0 (.kfilm); reference: [Film kit commands](https://developer.kition.ai/docs/kits/film.md)
- Changes the document: yes
- Acts on: `clip` (one id), which a run step’s `on` fills

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `clip` | `integer` | no |  |
| `intro` | `integer` | no | the intro duration, in ticks (one spelling of it) |
| `introFrames` | `integer` | no |  |
| `introSeconds` | `number` | no | the intro duration, in seconds (one spelling of it) |
| `outro` | `integer` | no | the outro duration, in ticks (one spelling of it) |
| `outroFrames` | `integer` | no | or introSeconds / outroSeconds, or ticks as intro / outro |
| `outroSeconds` | `number` | no | the outro duration, in seconds (one spelling of it) |

## Call through film_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: `clip`, `intro`, `introFrames`, `introSeconds`, `outro`, `outroFrames`, `outroSeconds`. 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": {
    "clip": {
      "type": "integer",
      "x-khp-types": [
        "Clip"
      ]
    },
    "intro": {
      "description": "the intro duration, in ticks (one spelling of it)",
      "type": "integer"
    },
    "introFrames": {
      "type": "integer"
    },
    "introSeconds": {
      "description": "the intro duration, in seconds (one spelling of it)",
      "type": "number"
    },
    "outro": {
      "description": "the outro duration, in ticks (one spelling of it)",
      "type": "integer"
    },
    "outroFrames": {
      "description": "or introSeconds / outroSeconds, or ticks as intro / outro",
      "type": "integer"
    },
    "outroSeconds": {
      "description": "the outro duration, in seconds (one spelling of it)",
      "type": "number"
    }
  },
  "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).
