How do I create stop and go movement?

This perhaps, if it’s supposed to work with the movement comp: