direction (pos);

Calculates the rotation that a robot must perform in order to point towards a given position.


Position which the robot must point.

Return Value: Float

Angle of the rotation that must be performed. -90 means f. ex. a rotation of 90 degrees to the right

(poorly copied from the help within the game)