# SetSpriteAngle

## Description

Immediately rotates the specified sprite to the given angle in degrees. By default sprites rotate around their center, see SetSpriteOffset to change this.

## Definition

SetSpriteAngle( iSpriteIndex, fAng )

void agk::SetSpriteAngle( UINT iSpriteIndex, float fAng )

## Parameters

- iSpriteIndex - The ID of the sprite to rotate.
- fAng - The angle to set the sprite in degrees.