Set Origin
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

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.