How to set sprite orientation

There was a similar question and its solution - Sprite always looking at camera