Spinning image?

I need to figure out a way to get a picture to rotate infinitely on the screen. Is there a way to do this?

edit:

nvm, I figured it out, just need to add some wait to my events loop
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/spinning-image.24783/