Canvas Mouse X

BlitzMax Forums/BlitzMax Beginners Area/Canvas Mouse X

Whenever I use MouseX() (for buttons) it returns 0 even though the mouse is clearly not, is there a reason for this? Is there an alternative?

Some sample code that doesn't work correctly would be helpful :)

Canvas use EventX()

Thank you.