-- Lingo syntaximageObjRef.duplicate() // JavaScript syntaximageObjRef.duplicate();
Image method. Creates and returns a copy of a given image.
The new image is completely independent of the original, and is not linked to any cast member. If planning to make a lot of changes to an image, it is better to make a copy that is independent of a cast member.
None.
This statement creates a new image object from the image of cast member Lunar Surface and places the new image object into the variable workingImage:
workingImage = member("Lunar Surface").image.duplicate()