How to capture mouse x/y within a canvas, relative?

Started by Cosmo, December 13, 2018, 19:53:07

Previous topic - Next topic

Cosmo

I can't find anything in the documentation for this, and it's really annoying.

BlitzPlus you could just do it by calling mousex/mousey with the canvas gadget as an arg, but i get "cannot find overload" if i try that in bmx ng. it's really annoying actually.

Cosmo

I'm actually a complete idiot and didn't know there was an event that could do that.

Congratulations to me, wasting four hours on something that I could have fixed if I had just read the documentation for the polled input commands, or the event list.