How to make a rotateable arrow

I want to have an arrow that I can set to different angles, i.e. 30 deg, 55 deg, 230 deg, etc. under program control. What is the easiest way to do this.

use an image sprite and set the heading property of the image sprite to the angle you like to have


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.

Thank you. this example is what I was looking for.