private void MouseReleaseOnCanvasEventHandler(object sender, MouseEventArgs e) { if (leftButtonWasPressed == true) { leftButtonWasPressed = false; // drawing Real Road if (Tool == Tools.Road) { RoadCreator.CreateRoad(Canvas, ObjectHandler.Roads, ObjectHandler.Buildings, ObjectHandler.Garages); } } }