☰
 
Image

GH - Switch Character

By: hungs59

Published: Oct 9 2026, 04:00

Downloads: 57
Quickly switch between character Bone layers, skipping reference rigs and characters hidden throughout the current frame’s +/-50-frame window. Assign a keyboard shortcut for faster switching.
Type: Button/Menu Script Version: 1 Created for Moho: 14.3
Categories: Bones, Layers
GH - Switch Character
Quickly switch between character rigs without searching through the Layers panel. Each activation selects the next eligible character Bone layer in top-to-bottom Layers order. After the last character, it returns to the first.

Why scan 50 frames before and after the current frame?
A project may contain rigs used in other shots or at distant positions on the timeline. Selecting those rigs interrupts work on the current animation. This tool checks a fixed window from current frame - 50 to current frame + 50, including both ends, and skips characters hidden throughout that window.

A character qualifies when its Bone layer and all parent groups have visibility enabled together during at least one frame in that range. The check includes the Layers panel visibility switches and animated Visibility channels, and accounts for Sequencer timing offsets.

Example: at frame 100, the tool checks frames 50 through 150. A rig visible only at frame 300 is skipped. A rig visible at frame 150 is included, even if it is hidden at frame 100.

Main features
- Switches between character rigs across the entire document, including inside collapsed groups.
- Uses the outermost Bone layer as the character rig; nested Bone layers are not separate characters.
- Skips reference Bone layers.
- Works when a child layer of a character is selected.
- Shows the selected rig in the Layers panel.
- The button only appears when the document contains a Bone layer.

Recommended: assign a keyboard shortcut
Install as a Button and assign an unused key in Moho's keyboard shortcut settings. A shortcut makes switching much faster: press the key repeatedly to select the next eligible character without moving the mouse to the tool button.

My personal shortcut is backslash (\). Choose a key that does not conflict with your existing shortcuts. No shortcut is assigned automatically.

Selection behavior
If the current selection is not part of an eligible character, the first eligible character is selected. If no eligible character is found, selection stays unchanged.

Notes
The window is fixed at +/-50 frames and only checks animation frames from frame 1 onward. Eligibility is based on visibility, not the presence of bone animation keys. The tool changes layer selection without moving the playhead or modifying animation.

04:00:30 dblclick "Version 1.0
Initial public release." sidepanelOpen=false autoUpdate=true isAdv=false

The script is supplied with the following files:

Icons and cursors:

b251.png

This type of script can be installed as a Button or a Menu Script ?


This script, and all other scripts on this site are distributed as free software under the GNU General Public License 3.0 or later.

Don't know how to install scripts in Moho? ‼ View instructions ‼

Downloads History:

Last 30 days:

Last 36 months:

×