# SetTweenSpriteAngle

## Description

Sets the Angle parameter of the given tween ID. A Tween can modify several parameters of a sprite 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 sprites or chains at the same time with PlayTweenSprite or AddTweenChainSprite. 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

SetTweenSpriteAngle( tweenID, beginA, endA, interpolation )

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

## Parameters

- tweenID - ID of the tween to modify
- beginA - The starting Angle value for the sprite, the sprite will be rotated at this angle when playing starts
- endA - The end Angle value for the sprite, the sprite will be rotated at this angle when playing ends
- interpolation - The interpolation method whilst the sprite is rotating from beginA to endA