---
title: "keyframe.velocity: Keyframe Velocity — Motion kit command — Kition"
description: "Sets the speed and influence of the selected keyframes: `inSpeed`, `inInfluence` %, `outSpeed`, `outInfluence` % (numbers, or arrays per dimension), `continuous` to tie both sides. Use for custom eases; keyframe.easyEase for the standard one."
canonical: "https://developer.kition.ai/docs/kits/motion/commands/keyframe.velocity"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/motion/commands/keyframe.velocity](https://developer.kition.ai/docs/kits/motion/commands/keyframe.velocity)

# keyframe.velocity

**Keyframe Velocity.** Sets the speed and influence of the selected keyframes: `inSpeed`, `inInfluence` %, `outSpeed`, `outInfluence` % (numbers, or arrays per dimension), `continuous` to tie both sides. Use for custom eases; keyframe.easyEase for the standard one.

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

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `continuous` | `boolean` | no |  |
| `inInfluence` | `number \| number[]` | no | percent: a number, or one per dimension |
| `inSpeed` | `number \| number[]` | no | a number, or one per dimension |
| `merge` | `string` | no | read by the command beside its listed parameters |
| `outInfluence` | `number \| number[]` | no | percent: a number, or one per dimension |
| `outSpeed` | `number \| number[]` | no | a number, or one per dimension |

## Call through motion_run

```text
motion_run {
  "path": "<file>.kmotion",
  "steps": [{ "command": "keyframe.velocity" }]
}
```

The required parameters, with placeholders for their types: not a tested example. Optional: `continuous`, `inInfluence`, `inSpeed`, `merge`, `outInfluence`, `outSpeed`. motion_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": {
    "continuous": {
      "type": "boolean"
    },
    "inInfluence": {
      "description": "percent: a number, or one per dimension",
      "oneOf": [
        {
          "type": "number"
        },
        {
          "items": {
            "type": "number"
          },
          "type": "array"
        }
      ]
    },
    "inSpeed": {
      "description": "a number, or one per dimension",
      "oneOf": [
        {
          "type": "number"
        },
        {
          "items": {
            "type": "number"
          },
          "type": "array"
        }
      ]
    },
    "merge": {
      "description": "read by the command beside its listed parameters",
      "type": "string"
    },
    "outInfluence": {
      "description": "percent: a number, or one per dimension",
      "oneOf": [
        {
          "type": "number"
        },
        {
          "items": {
            "type": "number"
          },
          "type": "array"
        }
      ]
    },
    "outSpeed": {
      "description": "a number, or one per dimension",
      "oneOf": [
        {
          "type": "number"
        },
        {
          "items": {
            "type": "number"
          },
          "type": "array"
        }
      ]
    }
  },
  "type": "object"
}
```

Generated from the command list of @kition/motion-darwin-arm64@0.1.0 and the kit itself (motion_commands through @kition/cli@0.1.1, built from KitionAI/kition-motion@4719aa7).
