---
title: "render.animation: Render Animation — Scene kit command — Kition"
description: "Renders frames `start` to `end` (every `step`) and answers them as pictures. Does not change the scene."
canonical: "https://developer.kition.ai/docs/kits/scene/commands/render.animation"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/scene/commands/render.animation](https://developer.kition.ai/docs/kits/scene/commands/render.animation)

# render.animation

**Render Animation.** Renders frames `start` to `end` (every `step`) and answers them as pictures. Does not change the scene.

- Kit: Scene 0.1.0 (.kscene); reference: [Scene kit commands](https://developer.kition.ai/docs/kits/scene.md)
- Changes the document: no

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `end` | `integer` | no | The last frame (the range's end when left out) |
| `samples` | `integer` | no | Samples per pixel side, 1 to 4 (1) |
| `start` | `integer` | no | The first frame (the range's start when left out) |
| `step` | `integer` | no | Render every nth frame (1) |

## Call through scene_run

```text
scene_run {
  "path": "<file>.kscene",
  "steps": [{ "command": "render.animation" }]
}
```

The required parameters, with placeholders for their types: not a tested example. Optional: `end`, `samples`, `start`, `step`. scene_run answers the step’s result in `completed[i].result`.

## Result



```json
{
  "additionalProperties": true,
  "description": "the rendered frames (see the description)",
  "properties": {},
  "type": "object"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "end": {
      "description": "The last frame (the range's end when left out)",
      "type": "integer"
    },
    "samples": {
      "description": "Samples per pixel side, 1 to 4 (1)",
      "type": "integer"
    },
    "start": {
      "description": "The first frame (the range's start when left out)",
      "type": "integer"
    },
    "step": {
      "description": "Render every nth frame (1)",
      "type": "integer"
    }
  },
  "type": "object"
}
```

Generated from the command list of @kition/scene-darwin-arm64@0.1.0 and the kit itself (scene_commands through @kition/cli@0.1.1, built from KitionAI/kition-scene@4d06faf).
