helpme its about loop event

i wanna make an event that


when NPC says "fetch!"
a dog keep running for turn around(loop) until i talk again with NPC(when i talk to npc, dog stop)

but dog keep going <<this way only

npc is autorun, (when he says "fetch!" switch A is turn on, and swith A is nothing so he doesn't repeat)
also when NPC says "Fetch!", the switch 3 is turn on
so dog events work(as parallel). and i made it as "movement route move left move right move left move right" and also clicked "repeat movement"

but dog running to the left only and it doesnt comeback!!!!

how can i fix this dog???
i want to make dog move around only(as loop)

plz help me
love you
thx yall
i solved!!!!!!!!!!!!!!
but still love yall
Thread closed

Next time please just edit your post instead of double posting (posting twice in a row without any other posts in between).

Also, we probably would have needed to see a screenshot of your event and movement route to help you with this, so if you need help with other things and screenshots would assist us, it'll save time if you include them with your initial post 🙂

Original thread: https://forums.rpgmakerweb.com/threads/helpme-its-about-loop-event.139016/