# StopTweenObject

## Description

Stops a given tween ID if it is playing on a given object. If the tween is not playing or has finished then this command has no effect. If the object 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

StopTweenObject( tweenID, objectID )

void agk::StopTweenObject( UINT tweenID, UINT objectID )

## Parameters

- tweenID - ID of the tween to stop
- objectID - ID of the object to stop