# The Inspector Panel

> Where the Inspector sits in Edit Mode, how it tracks selection across the Hierarchy, viewport and asset explorer, and its own resize handle.

- Source: https://diceytable.com/docs/editor/interface/inspector
- Last verified: 2026-09-14

The Inspector is the right-hand column of Edit Mode
(`<div className="em-side em-side-right">` → `<Panel headerText="Inspector" collapsible
class="em-panel">` in `TableEditModeShell.tsx`). This page is about the **region**: where it
sits, what drives what it shows, and its resize handle. The fields it draws, section by
section, are a separate reference — [The Inspector](https://diceytable.com/docs/editor/inspector) is the map for
that, with one page per section and per node kind.

![The Inspector column showing the ENTITY and PIECE sections for a selected custom piece](https://diceytable.com/docs/editor/interface/inspector-panel.webp)

## What it shows: whatever is selected, and only that

The panel body renders **exactly one thing at a time** — the fields for whatever `selectedNode`
currently is. There is no default content and no "nothing selected" placeholder beyond a
prompt (`Select an item in the hierarchy.`); the Inspector never shows two selections' fields
side by side, and it never shows stale fields for something you have since deselected.

Selection can come from any of three places, and all three land in the same `selectedNode`
state, so the Inspector updates identically regardless of where the click happened:

- A row in the [Hierarchy](https://diceytable.com/docs/editor/interface/hierarchy).
- A tile in the [asset explorer](https://diceytable.com/docs/editor/interface/asset-explorer) (a texture or a
  material — clicking a model, script or deck tile opens it as a tab instead of selecting it
  here).
- An entity clicked, or a group box-selected, directly on the
  [stage](https://diceytable.com/docs/editor/interface/viewport#selecting), which also mirrors the selection back into
  the Hierarchy.

## Multi-select layers on top, not instead

Selecting more than one entity (`Ctrl`/`Cmd`+click or `Shift`+click in the Hierarchy, or
`Ctrl`/`Cmd`+click or a dragged box on the stage) does not replace the Inspector's normal content — the
**primary** selection still renders its usual sections, and a `SELECTION (N)` panel is appended
below them. That panel carries the bulk actions and the `Scale gizmo` mode for multi-entity
scale drags. See [Multi-select](https://diceytable.com/docs/editor/working/multi-select) for what it can do.

## Field documentation: hover the label

Every field's explanation lives in a **hover card**, not in the panel. Point at (or `Tab` to) a
field's label and a card opens beside the Inspector with what the setting does, its range, and
whatever is not obvious about it. A section whose purpose needs a sentence carries a small `?`
beside its title that opens the same card, and so does a row of controls with no label of its
own. The same is true in every item editor's sidebar (Model, Texture, Material, Deck, Audio …).

What stays in the panel is only what describes the **current state**: a count, a computed
readout, a warning about the values you have entered, an empty-state line.

## Dragging a number

Every numeric field has a scrub handle on its right edge: press on it and drag left or right to
change the value, or use `↑` / `↓` with the field focused (`Shift` for a finer step). A field
measured in length steps by a round number in your display unit — an inch, 20 mm — unless the
field declares a step of its own.

## The resize separator

A drag handle (`role="separator"`, labeled `Resize inspector panel`) sits on the Inspector's
leading edge, between it and the stage — dragging **left** grows the panel. It shares the same
pointer-capture mechanism, clamped range (200–520 px) and per-user `localStorage` persistence
as the other two panel separators; the full mechanics are documented once, on
[the viewport's panel-layout
section](https://diceytable.com/docs/editor/interface/viewport#panel-layout-and-the-resize-separators), rather than
repeated here.

The handle — and the whole three-column resizable layout — only renders at a window width of
980 px or more; narrower windows fall back to the stylesheet's responsive layout.

## Where the field reference lives

This page stops here on purpose. What each section is, which are Engine components versus
Platform panels, and every field's type/range/default/runtime-effect is
[The Inspector](https://diceytable.com/docs/editor/inspector) and the pages linked from its node-kind table —
[entity](https://diceytable.com/docs/editor/inspector/entity), [piece](https://diceytable.com/docs/editor/inspector/piece),
[render](https://diceytable.com/docs/editor/inspector/render), [rigidbody](https://diceytable.com/docs/editor/inspector/rigidbody),
[collision](https://diceytable.com/docs/editor/inspector/collision), [light](https://diceytable.com/docs/editor/inspector/light),
[camera](https://diceytable.com/docs/editor/inspector/camera), [script](https://diceytable.com/docs/editor/inspector/script),
[platform-panels](https://diceytable.com/docs/editor/inspector/platform-panels) and
[materials-and-textures](https://diceytable.com/docs/editor/inspector/materials-and-textures).

## What the Inspector panel itself writes

| Control | Written where |
|---|---|
| Selecting something | Nothing — `selectedNode` is view state |
| Any field inside a section | Whatever that field documents on its own page |
| Resize separator | `localStorage` only |

## See also

- [The Inspector](https://diceytable.com/docs/editor/inspector) — the field-by-field map, and the Engine-vs-Platform
  accent-color distinction.
- [The Hierarchy Panel](https://diceytable.com/docs/editor/interface/hierarchy) — the most common way to change the
  selection.
- [The Viewport](https://diceytable.com/docs/editor/interface/viewport) — the stage selection path and the shared
  panel-resize mechanics.
