Function returns angle of mouse drag in screen space

Hi, Is there a function that when invoked, like OnMouseUp, records the mouse drag angle in screen space in radians or degrees?

t

No, but you can try and use these functions:

Event.delta (To use in OnGUI)

niceMouseDelta (To use in an editor script…)

with conjuncture with Vector3.Angle()
(Just use 0 as the 3rd parameter)

Thats it!!! :smile:

thanks cyb3rmaniak