You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The correct way to access the mouse position in Cosmos is through the MouseManager class.
To initialise the mouse, set both the MouseManager.ScreenWidth and MouseManager.ScreenHeight to the correct values. Then the position of the mouse can be determined by getting the values MouseManager.X and MouseManager.Y.