Ungroup object keeping transformation

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
Andriy
Posts: 6
Joined: Mon Mar 10, 2025 5:12 am

Ungroup object keeping transformation

Post by Andriy »

I have multiple objects inside a Group, and there's a Transformation/Rotation/Scale applied to the Group.

Whenever I try to move a layer/object out of the group, it snaps back to its original coordinates.

Is there a way to move objects outside the group while preserving their transformations in Moho 14 Pro?
Stan
Posts: 219
Joined: Sun Apr 19, 2009 3:22 pm

Re: Ungroup object keeping transformation

Post by Stan »

A while ago I wrote a script that can copy parameters from one layer to others. You can move layers out of the group and then use the script to copy the transformation/rotation/scale from the group to its former sub-layers. You can download the script here: https://mohoscripts.com/script/sz_copy_layer_parameters
________________________________________________________________________
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho
User avatar
Andriy
Posts: 6
Joined: Mon Mar 10, 2025 5:12 am

Re: Ungroup object keeping transformation

Post by Andriy »

Awesome! Thank you so much Stan :D
Stan
Posts: 219
Joined: Sun Apr 19, 2009 3:22 pm

Re: Ungroup object keeping transformation

Post by Stan »

There's also another script by A.Evseeva, named "Place layer in/out of group" - https://mohoscripts.com/script/ae_place ... eset-added.
________________________________________________________________________
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho
Post Reply