Complete the code to start drawing a new path with the Pen tool.
penTool.[1]()The beginPath() method starts a new path in Figma's Pen tool.
Complete the code to add a straight line segment to the current path.
penTool.lineTo([1], [2])
The lineTo(x, y) method requires x and y coordinates to draw a line.
Fix the error in the code to close the current path.
penTool.[1]()The closePath() method closes the current path by connecting the last point to the first.
Fill in the blank to create a cubic Bezier curve segment.
penTool.[1](controlPoint1, controlPoint2, endPoint)The bezierCurveTo(controlPoint1, controlPoint2, endPoint) method draws a cubic Bezier curve. The first control point is the first argument.
Fill all three blanks to move the pen to a new starting point without drawing.
penTool.[1]([2], [3])
The moveTo(x, y) method moves the pen to a new position without drawing a line.