Newbie asks: Get MousePosition and also when Mouse click
Posted: Mon Apr 16, 2012 9:29 pm
Basically.
1How do you get the position of the mouse at any moment.
2And how do you set the position of the mouse at any moment?. Like if you want the computer to trick the user and move his mouse to parts where he doesn't want.
3. And How do you get the position of the mouse when clicked so that you find out if a player clicked the Start screen or Selection screen at specific buttons or specific text or if it's within a game that uses the mouse, to check if the user clicked some specific area or point or object within the screen.
1How do you get the position of the mouse at any moment.
2And how do you set the position of the mouse at any moment?. Like if you want the computer to trick the user and move his mouse to parts where he doesn't want.
3. And How do you get the position of the mouse when clicked so that you find out if a player clicked the Start screen or Selection screen at specific buttons or specific text or if it's within a game that uses the mouse, to check if the user clicked some specific area or point or object within the screen.