# PlayTweenCustom

## Description

Plays the given custom tween ID with an optional delay and starts playing it. Unlike other tweens this is not applied to any specific item or object and cannot have multiple copies running at the same time, you will have to create a separate custom tween for each copy you want to run simultaneously. The tween values will not be modified until 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 the tween will adjust its interpolation accordingly. Modifying the duration whilst playing is undefined and not compatible with chains.

## Definition

PlayTweenCustom( tweenID, delay )

void agk::PlayTweenCustom( UINT tweenID, float delay )

## Parameters

- tweenID - ID of the tween to use
- delay - Number of seconds before the tween should start playing