Jump to content

Problems With Mouse Drag Speed


 Share

Recommended Posts

I've looked over the help and the forums, and I can't seem to find an answer to my (probabily very simple) question.

I'm writing a script and in this, I need consistant 'slow' drag speed across the screen. I've tried numerous solutions, and when I located mouseclickdrag with the speed argument, I thought I was all set.

however. When I use it, the speed of the drag seems to vary. Starting very fast then slowing down to a near crawl towards the end of the drag across the screen.

How can I make sure the drag speed is constant from start to finish?

Link to comment
Share on other sites

The way I would approach this issue is to use a MouseDown command to start, split the distance from initial location to final location into segments suitable to your speed, and MouseMove to each segment (can also affect speed). After the final segment, MouseUp.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...