ScriptInterface:PlaceLayerInGroup(child, group, top, isUndoable)

Version added: before 9.5

Moves a layer into a group

ArgumentTypeDescriptionDefaultVer
childMohoLayerThe layer to move< 9.5
groupMohoLayerThe group layer to put it in< 9.5
topboolTrue to place it at the top of the group, false to place it at the bottomtrue< 9.5
isUndoableboolAdded in version 10true10

Return type : none

To move a layer out of its group, you can use the ScriptInterface:PlaceLayerBehindAnother method.
String "PlaceLayerInGroup" is found in the following scripts:

WP Import from Spine JSON (by wigglepixel)

SS - Number Sequence (by simplsam)

Create Limb 2 (by Danfield)

SS - SVG Import (by simplsam)

MR Transform Rig Tool (by eugenebabich)

See all...