• Using the mouse.
    8 replies, posted
How do you freeze the crosshairs and then track the mouse as if it were the crosshair. Like when you hold down the context menu in sandbox mode.
gui.EnableScreenClicker(true) will show the mouse. What do you mean by 'track the mouse'?
So when I use gui.EnableScreenClicker(true) how do I get its position? GetEyeTrace()?
If you want a trace to the cursor use GetEyeTrace(). If you want it's position on the screen use gui.MousePos().
Ok Thanks I will try this and post what happens.
So I tried this and the mouse pointer appeared but the GetEyeTrace() still returned the Crosshair vector.
[lua]gui.ScreenToVector( gui.MousePos( ) )[/lua]
-snip-
Sorry, you need to Log In to post a reply to this thread.