---
title: "drawing.arrange: Arrange Drawing Objects — Doc kit command — Kition"
description: "Moves floating drawing objects to the front, back, or one step in the stacking order."
canonical: "https://developer.kition.ai/docs/kits/doc/commands/drawing.arrange"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/doc/commands/drawing.arrange](https://developer.kition.ai/docs/kits/doc/commands/drawing.arrange)

# drawing.arrange

**Arrange Drawing Objects.** Moves floating drawing objects to the front, back, or one step in the stacking order.

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

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `ids` | `integer[]` | no |  |
| `order` | `"front" \| "back" \| "forward" \| "backward"` | no |  |

## Call through doc_run

```text
doc_run {
  "path": "<file>.docx",
  "steps": [{ "command": "drawing.arrange" }]
}
```

The required parameters, with placeholders for their types: not a tested example. Optional: `ids`, `order`. doc_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": {
    "ids": {
      "items": {
        "description": "an id",
        "type": "integer"
      },
      "type": "array",
      "x-khp-types": [
        "Inline"
      ]
    },
    "order": {
      "enum": [
        "front",
        "back",
        "forward",
        "backward"
      ],
      "type": "string"
    }
  },
  "type": "object"
}
```

Generated from the command list of @kition/doc-darwin-arm64@0.1.0 and the kit itself (doc_commands through @kition/cli@0.1.1, built from KitionAI/kition-doc@41e14a8).
