# SetTweenTextSpacing

## Description

Sets the Spacing parameter of the given tween ID. A Tween can modify several parameters of a text object 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 text objects or chains at the same time with PlayTweenText or AddTweenChainText. 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

SetTweenTextSpacing( tweenID, beginSP, endSP, interpolation )

void agk::SetTweenTextSpacing( UINT tweenID, float beginSP, float endSP, int interpolation )

## Parameters

- tweenID - ID of the tween to modify
- beginSP - The starting Spacing value for the text, the text will have this spacing when playing starts
- endSP - The end Spacing value for the text, the text will have this spacing when playing ends
- interpolation - The interpolation method whilst the text is moving from beginSP to endSP