Something like this should get you started ....
You may want to store the mouse x,y position before you rotate so that you can re-position the cursor to where it was once you release the mouse button.
Stevie
YawRate# = mouseXspeed() * .5 PitchRate# = mouseYspeed() * .5 rotateentity PitchRate, YawRate , 0 movemouse graphicswidth()*.5, graphicsheight()*.5
You may want to store the mouse x,y position before you rotate so that you can re-position the cursor to where it was once you release the mouse button.
Stevie