Sign in to follow this  
Followers 0
fataly

Please help me fast with mousemove:)

2 posts in this topic

so, i try to make mouse cursor moving perfect circle. How i make this?

i have tried this:

while 1

$pi = 3.14159265358979

$x = sin($pi / 4) ;returns 0.707106781186547 which you should recognize as sqrt(2)/2

$degToRad = $pi / 540

$y = Sin(360 * $degToRad) ;sine of 90°

Sleep(100)

MouseMove($x,$y)

wend

Share this post


Link to post
Share on other sites



I wrote something that does this already:

#427527

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  
Followers 0