need python help - use mouse for arcade shooter


i’m interested in making a game like house of the dead or that other one where u can duck/hide.

does anyone know how to make a mousecript to keep the mouse in the window and to be able to shoot on tha spot like the arcade games… execpt wihout the guns? i want the mouse to control an object…like the crosshair.

thanks alot in advance… it would be very useful