---
title: "presence.caret: Caret for Presence — Doc kit command — Kition"
description: "Answers the caret and selection as object-model positions (object, field, offset), for showing it to collaborators."
canonical: "https://developer.kition.ai/docs/kits/doc/commands/presence.caret"
---

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

# presence.caret

**Caret for Presence.** Answers the caret and selection as object-model positions (object, field, offset), for showing it to collaborators.

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

## Parameters

None.

## Call through doc_run

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

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

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `anchor` | `any` | no |  |
| `caret` | `any` | no |  |
| `page` | `number` | no |  |
| `selection` | `any[]` | no |  |

```json
{
  "additionalProperties": true,
  "properties": {
    "anchor": {},
    "caret": {},
    "page": {
      "type": "number"
    },
    "selection": {
      "type": "array"
    }
  },
  "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).
