# StopTweenSprite

## Description

Stops a given tween ID if it is playing on a given sprite. If the tween is not playing or has finished then this command has no effect. If the sprite was in the middle of an interpolation it will remain at its current position, it will not skip to the end or return to the beginning.

## Definition

StopTweenSprite( tweenID, spriteID )

void agk::StopTweenSprite( UINT tweenID, UINT spriteID )

## Parameters

- tweenID - ID of the tween to stop
- spriteID - ID of the sprite to stop