The function changes the rotation style of the sprite in-project. There are three options for this function:
- all around: All around means the sprite can face any of the 360 degrees. It is the default.
- left-right: Left-right means sprite can only face left or right, and any other directions are rounded. The sprite will also be horizontally flipped when facing left in the left-right style.
- don’t rotate: Don’t rotate means that the sprite always faces as in 90°.
It takes only one input.