How can I make a stimulus spin?

Hi everyone!

I’m quite new with PsychoPy. I’ve design simple routines in Builder, that never needed code, but currently I want to design a routine that I believe needs coding. For my routine I need a spinning stimulus. I’ve been reading and searching but everything I’ve tried didn’t work.

What I want to do is to make a stimulus spin by its center and that it rotates the times I want and that it stops when I want too. I don’t know where to start or what could help. Any advice?

Thanks in advance! Really appreciate any help!

Best,
Emilio