Skip to main content
Participant
March 20, 2025
Answered

Trying to get a shape to follow a trim path while camera being used

  • March 20, 2025
  • 1 reply
  • 330 views

I'm making a short video that zooms in on a large .png poster (the bottom layer). To zoom into it, I put a Camera in a layer and then a Null object to control the camera zooming in and down. When the scene settles on the bar graph, I overlapped a vector layer (Line graph) that is a visual copy of the graph on the png. 

 

I then applied a trim path to vector so that a red stroke builds from left to right while the camera pans across the graph. I want to get the blue dot (Shape layer 1) that I placed at the begining of the graph to anchor itself to the trim path to draw the eye to the path.

 

I cannot seem to make this happen, even though I have pick whipped/linked the blue circle to every layer in a bid to make it follow the trim path. Can someone give me some guidance please? 

Screen video attached.

Correct answer nishu_kush

Thanks for reaching out. I can think of two methods to achieve this:

The first is to manually animate the blue dot.

The other method - 

  1. 1. Duplicate the trim path layer.
  2. Offset the original layer (it should be below the new duplicated layer) by one or two frames so that its animation is delayed.
  3. Go to the duplicate layer properties and animate the End property of the trim path from 1 to 100 within the same duration as the Start property (keep the animation of Start intact).
  4. At this point, you should be able to see a rectangle following the trim path.
  5. To make it round like a dot, increase the stroke size of the duplicate layer a bit.
  6. Expand layer property > Content > Stroke 1 and change the But Cap to Round Cap in the Line Cap drop-down.

I am attaching the sample .aep file if the steps above don't make sense.

Hope it helps. Feel free to reach out.


Thanks,
Nishu

1 reply

nishu_kush
nishu_kushCorrect answer
Legend
March 20, 2025

Thanks for reaching out. I can think of two methods to achieve this:

The first is to manually animate the blue dot.

The other method - 

  1. 1. Duplicate the trim path layer.
  2. Offset the original layer (it should be below the new duplicated layer) by one or two frames so that its animation is delayed.
  3. Go to the duplicate layer properties and animate the End property of the trim path from 1 to 100 within the same duration as the Start property (keep the animation of Start intact).
  4. At this point, you should be able to see a rectangle following the trim path.
  5. To make it round like a dot, increase the stroke size of the duplicate layer a bit.
  6. Expand layer property > Content > Stroke 1 and change the But Cap to Round Cap in the Line Cap drop-down.

I am attaching the sample .aep file if the steps above don't make sense.

Hope it helps. Feel free to reach out.


Thanks,
Nishu

Participant
March 21, 2025

Thanks! It's a keeper. The round stroke cap does some pretty strange things as it goes over the sharp graph corners, but things go by so fast it's almost charming. Appreciate your help.