Cool thanks, that works.
I cleared up a bug with that too!
Only problem is I cant get the mouse "vectors" all this means is when the mouse scrolls to the side of the screen id like it to still keep on reading mouse movement, cause if I dont when the mouse reaches the end of the screen the shield will stop moving around the character even if you meant for the character to keep shifting the shield across, its just that you've hit the side of the screen and its stopped moving, even though your still moving the mouse!
Like at the moment, to get mouse vectors I am comparing the old mouse position to the new one, but when it hits the side of the screen it stops working...
Is there a way around this?
personally I think your approaching this problem wrong, you shouldn't really need to jump all these hoops to get decent game controls, plenty of other games do it fine without all this extra stuff. Instead I recommend that you grab the mouse and release it when its not absolutely needed.