Skip to content

Animation toolbar

Animation mode has four sets of controls: a toolbar at the top of the canvas, a strip of state thumbnails along the bottom, the docked Animation panel on the right, and a preview window with playback controls. To enter animation mode, click Animation Mode in the main toolbar or press Shift+A; to leave, press Esc or click Exit.

The Molkit window in animation mode: the animation toolbar over the canvas, an SN2 animation with two states in its frames, the state strip with two thumbnails along the bottom, and the Animation panel on the right.
Animation mode with a two-state SN2 animation: the toolbar, the frames on the canvas, the state strip, and the Animation panel.

For what a state is and how states become an animation, see Set up animation states.

Button What it does
The animation’s name The first button names the animation you are editing. Click it to switch to another animation of the document, choose New animation to start one, or choose Duplicate to copy the one you are editing. See Several animations in one document.
+ New State Puts the canvas in frame-draw mode. Drag a rectangle; every atom, bond, and annotation inside it joins the new state.
Duplicate Copies the active state, including its frame and objects, and places the copy directly after it. Unavailable until a state is active.
Next Step Like Duplicate, but carries out the active state’s curved arrows on the copy: bonds, lone pairs, and charges change, and the arrows are removed. Creates nothing if an arrow cannot be read. See Next Step from arrows. Unavailable until a state is active.
Delete Removes the active state. The objects stay on the canvas; only the frame and its membership go. With nothing selected on the canvas, Delete, Backspace, or Delete in the Edit menu does the same, and removes every selected frame if you selected several (Shift+click frame headers to select several).
Button What it does
Preview Opens the preview window. Needs at least two states.
Export Opens a menu with Animated SVG and Video…. See Export an animation. While a LaTeX solution animation is active, Animated SVG opens the Export LaTeX Animation dialog instead.
Match Opens the Match Editor for pairing objects between states. See Object matching.
Pivot Sets the point each state’s motion rotates around: Auto (shared atoms) (the center of the atoms present in both states), Frame, or Select pivot atoms… to pick a custom set by clicking. Clear custom pivot removes the picked pivots of every state and keeps the Auto or Frame setting. Needs at least two states.

While you pick pivot atoms, a control bar offers these buttons:

Button What it does
Use Selection Uses the current canvas selection as the pivot.
← Back, All, Fwd → Copies this state’s pivot to earlier states, every state, or later states.
Reset, Reset All Returns this state, or every state, to automatic.
Done Closes the control bar.

The total length of the animation, which updates as you change timing, is at the right end of the state strip (Total 6.7 s). The toolbar sits over the drawing area; in a narrow window it wraps onto a second row, and when even that does not fit, Duplicate, Delete, Preview, Export, Match, Pivot, and the LaTeX buttons (Badges, Edit solution…) move into a More menu.

The strip along the bottom shows a thumbnail for each state and, between each pair of neighbors, a chip with the length of that step. It appears whenever the animation has at least one state, even outside animation mode.

To Do this
Make a state active and pan to it Click its thumbnail.
Rename a state Double-click the thumbnail’s title, or click the pencil that appears on hover.
Rename, duplicate, or delete a state Right-click the thumbnail and click Rename, Duplicate state, or Delete state.
Edit a transition in the Animation panel Click the duration chip.
Apply a speed preset to one transition Right-click the duration chip and click Quick, Normal, or Slow.

Each chip is tinted green, amber, or red by how well the objects in its two states match; hover over it for the rating. Object matching explains the ratings. A chip that carries a timing override is marked.

The alignment toolbar works in animation mode, so you can align, distribute, and rotate text boxes and other objects while you build states. It stays in its usual place at the top left. When the window is narrow enough for it to overlap the animation toolbar, it moves directly below the animation toolbar.

The docked Animation panel shows the settings for what you selected in the state strip. It hides while an object on the canvas is selected (that object’s properties panel takes its place), and while the Match Editor or pivot picking is open.

With a state selected (click its thumbnail), the panel shows:

  • Name
  • In preview, a checkbox that includes or excludes the state
  • Time on screen
  • Pivot, a summary, with Edit pivot…

With a transition selected (click the duration chip between two thumbnails), the panel shows:

  • the Quick, Normal, and Slow presets
  • Duration and Motion
  • the match rating for the pair: Smooth morph, Partial morph, or Mostly cross-fade
  • Edit matches…, which opens the Match Editor on that pair
  • Reset, which clears the pair’s timing overrides

Animation timing explains the timing fields.

The preview window has these controls:

Control What it does
Play/pause Plays or pauses the animation.
Previous state, Next state Steps to the previous or next state.
Stop Rewinds to the start.
Replay Plays from the start.
Fit Resets the zoom to show everything.
Loop Repeats the animation, fading the end back to the start. Off each time the preview opens.
Preview speed Cycles through 0.5×, 1×, 1.5×, and 2×. Affects the preview only.
Theme Switches the preview between light and dark. Affects the preview only.

To zoom the preview, scroll over it. To pan, drag with the middle or right mouse button, or Shift+drag. Double-click the preview to show everything again.

The preview speed button and the theme button never affect the export. The Speed setting below the timeline is the one that is exported.

The timeline below the viewport shows each state and each change as a block, with the current and total time at its ends. Click or drag along it to seek. Below the playback buttons, the preview edits the timing of the block you clicked and holds the Speed and Fit to settings for the whole animation; Animation timing documents them.

Key Where What it does
Left arrow, Right arrow Timeline focused Moves from block to block.
Home, End Timeline focused Jumps to the first or last block.
Space Elsewhere in the preview Plays or pauses.
Left arrow, Right arrow Elsewhere in the preview Seeks back or forward one second.
Esc Elsewhere in the preview Closes the preview window.

While you type in a field, these keys act in the field.