Some help needed for tool to draw and rotate lines