Color Bones

By: Lukas

Published: Sep 10 2024, 07:54

All Editions Downloads: 517

Unique IP Downloads: 517

Color Bones Window

Category: Bones

Published: Sep 10 2024, 07:54

Last Edited: Sep 13 2024, 04:00

Created for Moho Version: 14.2

Returned Version: 0.0

Edition Downloads: 517

Image
Modal window handle Color Bones. Alpha version. Please send me a message when encountering bugs.

Functionality is dynamic (or static if you choose to disable dynamic mode), three modes are available and change depending on the current tool and also if you are on fame 0 or not:

- Default → Show/Hide Bones (ALT to Expose)
- Add Bone (and Select Bone at frame 0) → Set Bone Color (ALT to Select)
- Select Bone → Select Bones (ALT to Add)

Shorcuts are disabled by default because number keys are reserved for the default Moho tools, but you can enable them in the code:
For shortcuts [1,2,3,4,5,6,7,8,9,0]  change:
"local numberIcons = false" → "local numberIcons = true"
And you'll need to edit your other tools and add one line, for example:

function LM_AddBone:OnKeyDown(moho, keyEvent)
    LK_BoneSettings:OnKeyDown(moho, keyEvent)
    [...]

The script is supplied with the following files:

Icons and cursors:

174_1.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:

×