Jump to content

Please help me fast with mousemove:)


fataly
 Share

Recommended Posts

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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...