So you want the rotation to animate?
Like this? Click on the sprite to rotate 45 degrees.
Online Demo
https://dl.dropboxusercontent.com/u/100 ... index.html
Here is the CapX
https://dl.dropboxusercontent.com/u/100 ... otate.capx
Made this simply by giving the sprite the rotation behaviour and set the rotation speed to 0
Then the events:
on sprite clicked > set rotation speed to 45 > wait 1sek > set rotation speed to 0
And that makes it rotate 45 degrees in 1sek every time clicked. You can of course set any speed you want.
But there are many other ways of doing this. This is just one of them and pretty simple.