# PlayTweenChar

## Description

Applies the given tween ID to a given character in a text object with an optional delay and starts playing it. A tween can be played on multiple characters across multiple text objects at the same time, simply call this command again with a different text or character ID. The character 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 on a character the character will adjust its interpolation accordingly. Modifying the duration whilst playing is undefined and not compatible with chains.

## Definition

PlayTweenChar( tweenID, textID, charID, delay )

void agk::PlayTweenChar( UINT tweenID, UINT textID, UINT charID, float delay )

## Parameters

- tweenID - ID of the tween to use
- textID - ID of the text object to modify
- charID - The index of the character, indices start at 0, if out of range it will be ignored
- delay - Number of seconds before the tween should start playing