# Input-error code `'not-draggable'`

> Contract 2.0.0 · package sha256 `a857eca95b35921109faf997094bb4192f12527d9d0fcd4be7e97f06425bad6e` · generated from `configurator-runtime.d.ts`, `tables/problems.json` and `services/onsite-scripter/scripts/contract-docs-what-to-do.json` by `services/onsite-scripter/scripts/build-contract-docs.mjs`; edit the source, not this file.

A member of [`InputErrorCode`](../api/InputErrorCode.md) · stable · since 2.0.0

`startDrag` on a unit that no live registration names.

## What to do

Register the part's unit with [`session.input.drag(query, options)`](../api/Input.drag.md) before [`session.input.startDrag(part, from)`](../api/Input.startDrag.md); registering is immediate, so register first, or again with the part added.

```ts
session.input.drag({ role: 'product' }, { on: 'floor', signal });
```

## Where the declaration names it

- [`Input.startDrag`](../api/Input.startDrag.md): Errors: throws HoloInputError 'not-draggable' when no live registration names the unit.

The set is open: handle a code you don't know (`'other'`).
