Event_MouseMove always being called
BlitzMax Forums/BlitzMax Beginners Area/Event_MouseMove always being called
| ||
Hi all. I'm a little confused about Event_MouseMove. I was under the assumption this event only gets generated when the mouse is moving? I just discovered that it's getting called constantly even when my mouse isn't moving. Can someone please shed some light on this, thanks in advance. |
| ||
Works for me in 1.48. Need sample code. |
| ||
If it does not work on your side try skip further processingglobal lastX:int = -1 global lastY:int = -1 if event = event_MouseMove if lastX<>event.X or lastY<>event.Y lastX = event.x lastY = event.y 'do something as there was a real mousemove-event '... endif endif bye Ron |