top down camera rotation...

Hi all~

I am currently busy making a top down game and want the functionality that when the player moves the mouse cursor to the edge of the screen to rotate the camera - for instance when the cursor is moved to the bottom of the screen the camera is rotated downwards on the y axis.

Thanks in advance~

Well, if you think of it here a example ^^

If(Bottomofscreen)
{
RotateMe();
}

Hehe, thanks~ Now to get this right with my noobish coding ability :wink: