# SetTweenCharAlpha

## Description

Sets the Alpha parameter of the given tween ID. A Tween can modify several parameters of a character at the same time. Set the begin value and the end value and an interpolation method. A tween is just a template that can be applied to many characters or chains at the same time, including from different text objects, with PlayTweenChar or AddTweenChainChar. Available interpolation methods are TweenLinear(), TweenSmooth1(), TweenSmooth2(), TweenEaseIn1(), TweenEaseIn2(), TweenEaseOut1(), TweenEaseOut2(), TweenBounce(), TweenOvershoot() Use an interpolation method of -1 to turn off interpolation on this value

## Definition

SetTweenCharAlpha( tweenID, beginA, endA, interpolation )

void agk::SetTweenCharAlpha( UINT tweenID, int beginA, int endA, int interpolation )

## Parameters

- tweenID - ID of the tween to modify
- beginA - The starting Alpha value for the character, the character will be this color when playing starts
- endA - The end Alpha value for the character, the character will be this color when playing ends
- interpolation - The interpolation method whilst the character is moving from beginA to endA