BigOTitti

Locking Mouse coordinates

5 posts in this topic

Hello guys!

I was wondering if it's possible to lock Mouse X/Y coordinates. So for example to lock the current Y coordinate, so the mouse would be able to change only X coordinate (Move only horizontally)?

Share this post


Link to post
Share on other sites



Let's say I want to draw a straight horizontal line with a mouse, then I would want my script to make the mouse unable to change his Y coordinate for some time.

Share this post


Link to post
Share on other sites

May be he will build a MouseTrap with emergency exit only in X-direction?

1 person likes this

Share this post


Link to post
Share on other sites
7 minutes ago, AutoBert said:

May be he will build a MouseTrap with emergency exit only in X-direction?

Oh thanks! I looked up the MouseTrap function in Autoit Help and I think it will do the job!

Share this post


Link to post
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