right and left arrows to rotate green thing meh. gets the begining angle of the arc and the end angle, if the direction from the orgin of the green thing to the mouse is between the min and max angles then render a red dot.
use for 3d???