# UpdateTweenChain

## Description

Updates the given tween chain. The time value allows you to control how quickly the chain advances, and in most cases the result of GetFrameTime should be used. The time can be set negative so that the chain and the tweens it contains will play in reverse until it reaches the 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.

## Definition

UpdateTweenChain( chainID, fTime )

void agk::UpdateTweenChain( UINT chainID, float fTime )

## Parameters

- chainID - The ID of the chain to update
- fTime - The time to advance the chain