MonoGame Mouse.GetState() not getting position

Hi All,

The work around that I mentioned in my above replies is as follows:

Create an InputManager class of your own, with properties such as IsMouseLeftClicked, IsMouseRightClicked, etc.

In your Game class, create a public variable to store an instance of this class and instantiate it within the constructor.

Once you have done this, bind mouse events to your render canvas (in my case, a picture box) and allow these to update the Game’s InputManager class via set methods.

In the Game’s Update(), check these properties instead of Mouse.GetState().

I hope this helps somebody with the same issue as me, sorry that the explanation is vague but I am working from memory. Please let me know if you would like a code sample.

Thanks a lot to all who replied again, I will still try the suggested methods as soon as I have a chance and post the results here.