Skip to main content
Participant
February 9, 2023
Question

Animated Dotted Line Offset Issue

  • February 9, 2023
  • 2 replies
  • 1985 views

Hi!

I'm trying to make a line that is marching ants from point a to point b but no matter what I do to the offset it looks as though the dotted line grows from each individual dot. See video below and notice the first few dots as it moves. I really want just a smooth constant and consistant movement. Any help would be greatly appreciated!

This topic has been closed for replies.

2 replies

Community Expert
February 9, 2023

If you set your dash and gap to the stroke width and animate the offset, the problem should resolve itself.  If you want round caps, set the dash to zero and the Gap to the stroke width * 2. This is very easy to do with expressions.

Mylenium
Legend
February 9, 2023

It would probably make sense to create the line the old-fashioned way using text on a path and then use the options there. Shape layer dashes behave a bit odd on open shapes.

 

Mylenium