Page 1 of 1
Getting mouse x and y position??
Posted: Thu Oct 29, 2020 7:57 pm
by Nrgzr78
Hi everybody, I'm struggling getting mouse x and y position on an object in a module I'm creating, can someone give me a hint please???

Re: Getting mouse x and y position??
Posted: Thu Oct 29, 2020 8:30 pm
by ymerejsasnak
Hi, I think these get passed in to the Notify method...lemme see...
Yeah, among the many parameters are two ints, x and y, which I believe will hold the mouse coordinates (relative to the object itself). Can't remember how I figured this out, don't know if it's explicitly documented anywhere...
-JK
Re: Getting mouse x and y position??
Posted: Thu Oct 29, 2020 10:37 pm
by Nrgzr78
I found out it was a so freaking stupid thing....oh my god...we always look somewhere else when the solution is in front of us.....and easier too.
Thanks for the support anyways!!!
