Jump to content
Sign in to follow this  
Collin

Get Position on mouse click?

Recommended Posts

Collin

Hi,

I wrote a script that requires 6 different locations,, X/Y

Before it can run

Is there a way to put in the beginning of the script some kind of message and mouse check that, for instance, says

"Click once in Position 1"

you click position one, it stores the info and the x/y go into appropirate variables for the whole script

"click once on position 2" *** but can't use message box because that takes a click to close it??? ***

click position 2, stores info, yadda yadda

And so on with the rest of the positions

Any thoughts?

Share this post


Link to post
Share on other sites
JustinReno

Do _ispressed and mousegetpos()

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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.