Lines: Use the Pen tool or Shape tool to create lines or shapes on a shape layer.
Animating Lines: Animate the line's position, stroke width, or color over time using keyframes. You can create effects like a line drawing itself or moving across the screen.
Trim Paths: This is a specific effect in the Shape Layer's contents that lets you animate the start and end points of a line, making it appear as if the line is being drawn on the screen.
Applying Stroke: Add a Stroke effect to a layer, which allows you to animate the stroke of a path or shape. You can animate properties like the stroke's color, width, and end position.
Dashing Effects: Customize the stroke’s appearance by adjusting the dashes and gaps to create more complex motion effects.