# Enemy follow character

**URL:** https://forum.kirupa.com/t/enemy-follow-character/198769
**Category:** programming
**Created:** [August 28, 2006, 1:57pm UTC](https://forum.kirupa.com/t/enemy-follow-character/198769 "2006-08-28T13:57:26Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![o111](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/o111/32/2123_2.png) [@o111](https://forum.kirupa.com/u/o111)
#### Post date: [August 28, 2006, 1:57pm UTC](https://forum.kirupa.com/t/enemy-follow-character/198769/1 "2006-08-28T13:57:26Z")

</div>

I have an enemy that I want to follow the character. Wherever you move your character, the enemy will follow. So you are chased all the time! My character’s instance name is: character and my enemy’s instance name is: enemy. I only want to have the code on the enemy, if possible! What is the code I need?

thanks:)  
peace
