Getting mouse x and y position??

Post Reply
User avatar
Nrgzr78
Posts: 133
Joined: Thu Jul 16, 2020 9:55 pm
Location: Niagara Falls

Getting mouse x and y position??

Post 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??? :idea:
ymerejsasnak
Posts: 69
Joined: Thu Jun 04, 2020 2:08 am

Re: Getting mouse x and y position??

Post 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
User avatar
Nrgzr78
Posts: 133
Joined: Thu Jul 16, 2020 9:55 pm
Location: Niagara Falls

Re: Getting mouse x and y position??

Post 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!!! 8-)
Post Reply

Return to “Module Designer”