Look at this code:
http://www.blitzbasic.com/Community/posts.php?topic=78895#885710
This should work.
http://www.blitzbasic.com/Community/posts.php?topic=78895#885710
Repeat Xturn = Graphicswidth()/2 - MouseX() Yturn = GraphicsHeight()/2 - MouseY() ;Other code goes here Xangle = Xangle + Xturn Yangle = Yangle + Yturn Forever
This should work.