# 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 )

void agk::CloneSprite( UINT iSpriteIndex, UINT iOtherSprite )

integer CloneSprite( iOtherSprite )

UINT agk::CloneSprite( UINT iOtherSprite )

## Parameters

- iSpriteIndex - The ID to use for the new sprite.
- iOtherSprite - The ID of the sprite to copy.