# UpdateTweenCustom

## 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. If you have started a lot of tweens playing, then updating each tween individually will be a lot more expensive than using UpdateAllTweens.

## Definition

UpdateTweenCustom( tweenID, fTime )

void agk::UpdateTweenCustom( UINT tweenID, float fTime )

## Parameters

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