# AddTweenChainCustom

## Description

Adds the given custom tween ID to the end of the chain with an optional delay. The tween will not start until all preceeding tweens in this chain have finished and the delay time has passed, at which point the tween will start at the begin values and move towards the end values over the tween duration. If a tween end value is modified whilst the tween is playing it will adjust its interpolation accordingly. Modifying the duration whilst playing is undefined and not compatible with chains.

## Definition

AddTweenChainCustom( chainID, tweenID, delay )

void agk::AddTweenChainCustom( UINT chainID, UINT tweenID, float delay )

## Parameters

- chainID - ID of the chain to add to
- tweenID - ID of the tween to add
- delay - Number of seconds to wait before playing this tween when it is triggered