Step 4: Enable 3D for the Layer To make the stroke layer 3D, click on the cube icon located next to the layer name in the timeline panel. In the “Paint Style” dropdown menu of the Stroke options, select “On Transparent.” Adjust the stroke color, width, and other settings as desired. Step 3: Add a Stroke With the shape layer selected, go to the “Add” dropdown menu and choose “Stroke.” This will add a stroke to the shape layer. Draw a rectangle shape on the composition. Select the “Rectangle” tool from the toolbar, or press the “Q” key to activate it. Step 2: Create a Shape Layer In the Project panel, click on the “New Composition” button to create a new shape layer.
Step 1: Create a New Composition Open After Effects and create a new composition by going to “Composition” > “New Composition.” Set the desired dimensions, frame rate, and duration for your composition.