# UpdateTweenObject

## Description

Updates a specific tween that has been started. The time value allows you to control how quickly the tween advances, and in most cases the result of GetFrameTime should be used. The time can be set negative so that the tween will play in reverse until it reaches its start point, however it will not stop playing when it reaches the beginning and will instead wait for the time to become positive again or wait for you to stop it manually. The tween must have already been started on the given object with PlayTweenObject or nothing will happen. If you have started a lot of tweens playing, then updating each tween individually will be a lot more expensive than using UpdateAllTweens.

## Definition

UpdateTweenObject( tweenID, objectID, fTime )

void agk::UpdateTweenObject( UINT tweenID, UINT objectID, float fTime )

## Parameters

- tweenID - The ID of the tween to update
- objectID - The ID of the object to update
- fTime - The time to advance the tween