I have this code here that is supposed to pan when you hold the middle mouse, the same as it would in the actual frame editor. Currently it doesn't work properly and drifts even when the mouse has stopped, and while I know why it's happening I'm not that experienced with clickteam so I don't know how to fix it. (1: The code currently used in clickteam, 2: What it currently does in clickteam, 3: How I would like it to work)
(1)
Please login to see this attachment.
(2)
Please login to see this link.
(3)
Please login to see this link.