I am making a game and a ship I made is suppose to follow your mouse position. After each new level, just as the new stage loads, the ship moves to the position of the mouse, which may be off the screen and force the ship to crash into something. Is there any way i can force the _xmouse and _ymouse to stay somewhere? like perse in the middle of the screen or something?
i’ve tried
_xmouse = 400;
_ymouse = 300;
but that obviously doesn’t work.