Timed enemy movements

What I’d ideally like to create is the kind of effect where the enemy moves like a snail, so a short burst, stops, short bust stops etc.

However I have no idea who to do this. I was thinking of something like every even number in seconds enemy can move. so basically moving every other second.

Any ideas on how to code this would be great

I’m sorry there is no code my end, but I willupdate this post with code as and when it comes to me!

Try to alter on moving vector with sinus. For example: "moving vector"abs(sin(“some increasing variable”))“some factor”. Instead abs(), “some increasing variable” should be less then PI(3.14) and greater then 0