# Help: Duplication of characters

**URL:** <https://forum.makecode.com/t/help-duplication-of-characters/2984>\
**Category:** Help\
**Created:** [August 1, 2020, 4:06am UTC](https://forum.makecode.com/t/help-duplication-of-characters/2984 "2020-08-01T04:06:44Z")\
**Posts on this page:** 1\
**Page:** 2

<div class="post-metadata">

**Author:** ![darzu](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/darzu/32/1882_2.png) [@darzu](https://forum.makecode.com/u/darzu)\
**Post date:** [March 16, 2021, 8:54pm UTC](https://forum.makecode.com/t/help-duplication-of-characters/2984/22 "2021-03-16T20:54:11Z")

</div>

The problem is these while statements:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/0/0d9daafe537974ed974117e71b478c5d5d1c5424.jpeg)

The function is running forever.

Instead you need to have startFollow add the sprite to a list and then in game.onUpdate do your follow logic.

[Previous page](https://forum.makecode.com/t/help-duplication-of-characters/2984.md?page=1)
