This tool allows you to assign any layer in the project to a button for quick selection and visibility control.
Download link: http://mohoscripts.com/script/sz_layer_ ... on_buttons
Layer Selection Buttons
Moderators: Víctor Paredes, Belgarath, slowtiger
Layer Selection Buttons
________________________________________________________________________
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho
- Víctor Paredes
- Site Admin
- Posts: 5818
- Joined: Wed Jan 26, 2005 12:18 am
- Location: Barcelona/Chile
- Contact:
Re: Layer Selection Buttons
Ha! I love it.
Thanks, Stan!
Thanks, Stan!






Moho co-owner
Previously Rigged animation supervisor: My father's dragon, Wolfwalkers & Star Wars Visions "Screecher's Reach"
My personal Youtube Channel
Re: Layer Selection Buttons
Thank you! It looks very handy. I love how Moho's community seems to be more active since the great news from Mike and Victor.
Re: Layer Selection Buttons
That's pretty cool Stan. Downloading now.
From what I see in the video, Layer Selection Buttons reminds me of Wes' Layer Shortcuts. I like Wes tool because it lets me place my selection buttons right inside the workspace as part of my rig setup...visually, the result is intuitive and looks slick. But your approach seems easier and quicker to set up.
Between the two systems, there's something for everybody here!
@Moho's devs, in the future, I'd like to see Moho get a Button Layer. This can be a group layer where we add other Moho layers like Note (my preference with Wes' system) or a graphics layer that we can enable as clickable buttons to select other layers or to toggle 1-frame Smart Bone Actions or to toggle any keyframeable Moho properties. (Personally, I would mainly use the buttons to select Switch layers for the Switch Selection window.)
From what I see in the video, Layer Selection Buttons reminds me of Wes' Layer Shortcuts. I like Wes tool because it lets me place my selection buttons right inside the workspace as part of my rig setup...visually, the result is intuitive and looks slick. But your approach seems easier and quicker to set up.
Between the two systems, there's something for everybody here!

@Moho's devs, in the future, I'd like to see Moho get a Button Layer. This can be a group layer where we add other Moho layers like Note (my preference with Wes' system) or a graphics layer that we can enable as clickable buttons to select other layers or to toggle 1-frame Smart Bone Actions or to toggle any keyframeable Moho properties. (Personally, I would mainly use the buttons to select Switch layers for the Switch Selection window.)
Last edited by Greenlaw on Mon Jan 11, 2021 7:51 pm, edited 2 times in total.
NEW! Visit our Little Green Dog Channel on YouTube!
D.R. Greenlaw
Artist/Partner - Little Green Dog
Little Green Dog Channel | Greenlaw's Demo Reel Channel
D.R. Greenlaw
Artist/Partner - Little Green Dog
Little Green Dog Channel | Greenlaw's Demo Reel Channel
Re: Layer Selection Buttons
Yeah, I would love to see more opportunities for scripts - not just tools and buttons, but also panels, floating and dockable.
________________________________________________________________________
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho
Re: Layer Selection Buttons
We definitely need scripting access to a new AdvancedDialog with all the features of the SimpleDialog plus support for additional Widgets like:
- Images (Bitmap/SVG) for panes and also panel backgrounds
- Graphical Views with freeform script drawable graphics
- Tabs (for improved dialog organisation)
- Audio sounds and effects? - maybe just for fun
All combined with the ability to process Mouse, Keyboard & Widget events of the AdvancedDialog, and Frame change events from the main timeline.
Recently I have been playing around with the QT widget UI toolkit - and the addition of an advanced dialog panel for Moho would literally open up so many new worlds, it has so much potential.
And yes - all Tools Panels should be truly Dockable (freely Drag and Dockable around the screen), with the added ability to save preferred workspace layouts. I have seen many requests for full Dockability. It is a popular and long requested feature.
- Images (Bitmap/SVG) for panes and also panel backgrounds
- Graphical Views with freeform script drawable graphics
- Tabs (for improved dialog organisation)
- Audio sounds and effects? - maybe just for fun

All combined with the ability to process Mouse, Keyboard & Widget events of the AdvancedDialog, and Frame change events from the main timeline.
Recently I have been playing around with the QT widget UI toolkit - and the addition of an advanced dialog panel for Moho would literally open up so many new worlds, it has so much potential.
And yes - all Tools Panels should be truly Dockable (freely Drag and Dockable around the screen), with the added ability to save preferred workspace layouts. I have seen many requests for full Dockability. It is a popular and long requested feature.
Moho 14.3 » Win 11 Pro 64GB » NVIDIA GTX 1080ti 11GB
Moho 14.3 » Mac mini 2012 8GB » macOS 10.15 Catalina
Tube: SimplSam
Sam
Moho 14.3 » Mac mini 2012 8GB » macOS 10.15 Catalina
Tube: SimplSam
Sam