# Get Angle Value

Member Posts: 10
edited November -1
I have one big circle on the seen, I am touching circle in different points. I want to get the angle value where I am touching in the circle. Can any one help me how can I get the angle value?

• Member Posts: 1,095
go to expression editor:

vectorToAngle(TouchX,TouchY)

Hope this helps!
• Member Posts: 1,079
The angle of what though? From the centre of the circle along the horizontal? Vertical? From the origin?
• I am here.Member, Sous Chef, PRO Posts: 6,577

http://en.wikipedia.org/wiki/Axis_angle

Hee! (Despite my attempt at humour, you might well understand the maths there; I surely don't!)

Basically, it's the angle made from the centre of the circle to the x,y loc of the touch point.

:-)

""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

• Member Posts: 10
RH said:
The angle of what though? From the centre of the circle along the horizontal? Vertical? From the origin?

centre of the circle
• I am here.Member, Sous Chef, PRO Posts: 6,577
There's an echo in here... ;-)

""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps