Jump to content

angles


Recommended Posts

I need to find out how to use angles with autoit, but I cannot wrap my head around it.

What i need to do is to make a gui 100 pixels away from the center at 20 degrees. How would I do this? How would i make the script return the x,y of the pixel thats 100 pixles away from the center?

func angle(distance,degrees)

<stuff i don't know>

return $xy ;in array?
endfunc

0x616e2069646561206973206c696b652061206d616e20776974686f7574206120626f64792c20746f206669676874206f6e6520697320746f206e657665722077696e2e2e2e2e

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...