My problem here is I don't know how can I make the arrow follow as the direction of mouse as I passed it through my root variable. Any idea how can I achieve this?  It just keeps rotating and rotating when I'm trying to move it around the screen.  Example if it goes like 30deg of the direction of the mouse then it the arrow should be there also. since it has 360deg I don't know how to do it and pass it in global variable. See the Pen XWZPOoY by myth-vince (@myth-vince) on