member(whichCastmember).cloneMotionFromCastmember(newMotionName, sourceMotionName, sourceCastmember)
3D command; copies a motion from a cast member, renames it, and inserts it into a cast member.
The source cast member must be finished loading for this command to work correctly.
newMotionName Required. Specifies the name of the newly cloned motion.
sourceMotionName Required. Specifies the motion to clone.
sourceCastMember Required. Specifies the cast member that contains the motion to clone.
This statement copies the motion named Walk from the cast member named ParkScene, names the copy FunnyWalk, and puts the copy in the cast member gbMember.
--Lingo
member("gbMember").cloneMotionFromCastmember("FunnyWalk", "Walk", member("ParkScene"))
// Javascript
member("gbMember").cloneMotionFromCastmember("FunnyWalk", "Walk", member("ParkScene"));
map (3D), cloneModelFromCastmember, clone, cloneDeep, loadFile()