June 18, 2019, 02:56:48 PM

Author Topic: How to capture mouse x/y within a canvas, relative?  (Read 256 times)

Offline Cosmo

  • Jr. Member
  • **
  • Posts: 17
How to capture mouse x/y within a canvas, relative?
« on: December 13, 2018, 07:53:07 PM »
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.

Offline Cosmo

  • Jr. Member
  • **
  • Posts: 17
Re: How to capture mouse x/y within a canvas, relative?
« Reply #1 on: December 13, 2018, 08:00:58 PM »
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.