Layers and groups
Every object you draw in Molkit is on its own layer: each connected molecule is one layer, and each annotation (arrow, text, shape, image, and so on) is one layer. Layers stack from bottom to top, and a layer higher in the stack draws on top of everything below it. The Layers panel shows the stack, lets you reorder it, and helps you find and select objects on a crowded canvas. Groups bundle several layers into a unit that moves and selects as one.
The Layers panel
Section titled “The Layers panel”To show or hide the panel, press F7 or click View > Layers Panel. The panel opens in the panel column on the right, and Molkit remembers between sessions whether it is open.
Order buttons
Section titled “Order buttons”Four buttons at the top of the panel act on the selected layer:
| Button | Shortcut | Effect |
|---|---|---|
| Bring to Front | Ctrl+Shift+] | Moves the layer to the top of the stack. |
| Bring Forward | Ctrl+] | Moves the layer up one step. |
| Send Backward | Ctrl+[ | Moves the layer down one step. |
| Send to Back | Ctrl+Shift+[ | Moves the layer to the bottom of the stack. |
The shortcuts work even when the panel is closed, as long as a single layer is selected. A button is unavailable when the selection is already at the top or bottom of the stack.
The list
Section titled “The list”The list shows layers top first: the first row is the frontmost object. A molecule appears under its name when it has one, such as “nitrate (4 atoms)”, and otherwise as “Molecule (4 atoms)”, with a hexagon icon. Annotations get an icon for their type and a name generated from their content, such as “Reaction Arrow”, or a short text preview such as Text: "Mechanism step 1". You cannot edit these names.
Clicking a row selects that object on the canvas, replaces the current selection, and switches to the Select tool. Hovering over a row highlights the matching object. To find one item among several overlapping ones, move the pointer down the list and watch each object light up in turn.
To reorder a layer, drag its row up or down. A row can move only among its siblings: you can reorder layers at the top level, or members inside one group, but you cannot drag an item into or out of a group. If you try, a message explains this.
Canvas badges
Section titled “Canvas badges”While the panel is open and expanded, every layer gets a small numbered badge at its upper-left corner on the canvas. The numbers match the list order, and groups get their own badges (G1, G2) above their members’ badges. To select a layer, click its badge; to add it to the current selection, Shift+click the badge. Badges scale with zoom, so they stay readable at any magnification.

Groups
Section titled “Groups”To group objects, select two or more and press Ctrl+G. To ungroup, press Ctrl+Shift+G. Groups can be nested: grouping a selection that already contains a group adds that group as a single member.
After you group objects, clicking any member with the Select tool selects the whole group, so the group moves, copies, and deletes as one unit.
Editing inside a group
Section titled “Editing inside a group”To edit one member without ungrouping, double-click it. This enters the group and selects only that item; you can then move it, restyle it, or select other members one at a time. To leave the group, press Esc; the whole group is selected again. While you are inside a group, the group’s row in the Layers panel is marked, so you can see where you are.
Groups in the list
Section titled “Groups in the list”A group appears in the list as a folder row named “Group N (M items)”, with a disclosure triangle. To expand or collapse the members, which are indented beneath the group, click the triangle. Clicking the group row selects the whole group, and hovering over it highlights every member on the canvas. You can drag members to reorder them within the group, the same way as top-level layers.
Shortcuts
Section titled “Shortcuts”| Shortcut | Action |
|---|---|
| F7 | Show or hide the Layers panel |
| Ctrl+] | Bring forward |
| Ctrl+[ | Send backward |
| Ctrl+Shift+] | Bring to front |
| Ctrl+Shift+[ | Send to back |
| Ctrl+G | Group the selection |
| Ctrl+Shift+G | Ungroup |
| Esc | Leave the group you are editing |
For alignment and distribution, which sit beside the layer-order commands, see Arrange and align. For every shortcut in Molkit, see Keyboard shortcuts.