---
title: "project.moveToBin: Move to Bin — Film kit command — Kition"
description: "Moves the listed or selected project `items` into `bin` (null for the root). Answers how many moved."
canonical: "https://developer.kition.ai/docs/kits/film/commands/project.moveToBin"
---

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

# project.moveToBin

**Move to Bin.** Moves the listed or selected project `items` into `bin` (null for the root). Answers how many moved.

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

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `bin` | `integer` | no | binId\|null |
| `items` | `integer[]` | no |  |

## Call through film_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: `bin`, `items`. 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": {
    "bin": {
      "description": "binId|null",
      "type": "integer",
      "x-khp-types": [
        "Bin"
      ]
    },
    "items": {
      "items": {
        "description": "an id",
        "type": "integer"
      },
      "type": "array",
      "x-khp-types": [
        "Item"
      ]
    }
  },
  "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).
