Scratch for Java

Sprite::clone()

Creates a clone of the current sprite. The cloned sprite will have the same properties as the original sprite, including its costumes, position, direction, and pen.

Syntax

Java

.clone()

Return

Sprite

clone()