CloneSprite

Description

Clones a sprite into a given sprite ID. The new sprite will be in in exactly the same position as the original.

Any physics values or shapes assigned to the sprite will not be copied. The new sprite will not be setup for physics.

Definition

CloneSprite( iSpriteIndex, iOtherSprite )

integer CloneSprite( iOtherSprite )

Parameters