# Tower Defense Game

**URL:** <https://forum.kirupa.com/t/tower-defense-game/231677>\
**Category:** programming\
**Created:** [July 6, 2007, 3:48pm UTC](https://forum.kirupa.com/t/tower-defense-game/231677 "2007-07-06T15:48:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saidon](https://avatars.discourse-cdn.com/v4/letter/s/e99b99/32.png) [@Saidon](https://forum.kirupa.com/u/Saidon)\
**Post date:** [July 6, 2007, 3:48pm UTC](https://forum.kirupa.com/t/tower-defense-game/231677/1 "2007-07-06T15:48:41Z")

</div>

Hi guys, I’m new to actionscript and am trying to make a tower defense game for a flash class. I’m having trouble figuring out how to get the turrets to rotate and track the enemies and fire when they’re in a certain range. I’ve found several tutorials that show how to make a turret track and fire at your mouse, but I don’t know how to apply that script to this situation. Any help would be GREATLY appreciated.
