Set Origin

By: Lukas

Published: Jun 24 2022, 05:25

All Editions Downloads: 1680

Unique IP Downloads: 1680

Allows the Origin to be animated.

Category: Improvements

Published: Jun 24 2022, 05:25

Last Edited: May 26 2023, 07:11

Created for Moho Version: 13.5.3

Returned Version: 1.0

Edition Downloads: 1680

Image

Allows the Origin to be animated.

On a bone layer, it is controlled by a pinbone called 'Origin'. Which can be animated like any other bone or simply with this tool.

On a switch or FBF layer the Origin is set per child layer, set the child layers' Origins from the switch level with this tool. This way you can scale and rotate on the Switch/FBF level, while each instance having their own Origin.

Put these files:
- LK_Origin_Bone.lua
- LK_Origin_Switch.lua

in this folder:
/YourCustomContentFolder/Shared Resources/Layerscripts/

For FBF purposes, the LK_SelectPoints shortcuts will also work in this tool if you've got that one installed.

The script is supplied with the following files:

Icons and cursors:

98_1.png

Resource files:

Subfolder: wrong_folder_see_description_on_mohoscripts

LK_Origin_Bone.lua
LK_Origin_Switch.lua
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:

×