Thanks for the basic example, CH. What's interesting is that,at first sight, it looks like every time u touch it will rotate 90deg:
......self.layer.animate('rotation', self.layer.rotation + 90)......
And indeed it does if u touch once every second etc.
But touch twice quickly, and this doesn't happen. It only gets part-way thru the rotation, then rotates again
guess the 'touch-ended' bit would need to do a check to see the 90deg had completed somehow
Just saying even something simple gets complicated! :-/