Jump to content
Sign in to follow this  

Qeustion About Getting x,z Cordinates

Recommended Posts



Is it possible to make a script where you ask the user of your script to Mouse click at a location in his screen then when he Mouse click the program gets the x, z location where he clicked?

Cheers thx in advance,


Share this post

Link to post
Share on other sites

Quickly scripted for you...

While 1
    ToolTip("Mouse Pos:"&$Pos[0]&","&$Pos[1],Default,Default,"",1,1)
    If _IsPressed("01") Then
            ToolTip("You clicked on:"&$Pos[0]&","&$Pos[1],Default,Default,"",1,1)
        Until Not _IsPressed("01")

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.