Rotating sprite

Guys, may I know how to rotate an autogenerated sprite using a button with a sprite that is generated using the add or remove function? The second question is that may I know how to long hold a sprite to delete it?

Hi @0c9e70331dcf4f

If you change the angle property, that should rotate the sprite for you.

Does that work for you?


Err, what I meant was that I want to rotate a sprite created using the createSpriteOfType function, and also how to long press it to delete.