# CreateTweenChar

## Description

Creates a char tween with a given duration and returns an ID for it. This can be applied to individual characters of a text object. This tween is merely a template that can be applied to multiple text characters or chains at the same time. All tween types share the same ID space, so a sprite tween of ID 1 cannot exist at the same time as a char tween with ID 1. You can set multiple parameters for this tween, such as X position and Angle, that will all move from their start values to their end values over the given duration.

## Definition

integer CreateTweenChar( duration )

UINT agk::CreateTweenChar( float duration )

CreateTweenChar( tweenID, duration )

void agk::CreateTweenChar( UINT tweenID, float duration )

## Parameters

- duration - The duration of the tween in seconds
- tweenID - ID of the tween