# Help with my 2 player enemy shooter

**URL:** <https://forum.makecode.com/t/help-with-my-2-player-enemy-shooter/29547>\
**Category:** Help\
**Created:** [July 3, 2024, 2:59am UTC](https://forum.makecode.com/t/help-with-my-2-player-enemy-shooter/29547 "2024-07-03T02:59:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![platformermaster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/platformermaster/32/16102_2.png) [@platformermaster](https://forum.makecode.com/u/platformermaster)\
**Post date:** [July 3, 2024, 2:59am UTC](https://forum.makecode.com/t/help-with-my-2-player-enemy-shooter/29547/1 "2024-07-03T02:59:13Z")

</div>

Here is the link [https://arcade.makecode.com/S13604-94525-19188-29113](https://arcade.makecode.com/S13604-94525-19188-29113) I can get the sprite to aim at the nearest one. Also there is more than 1 enemy with the sprite name myEnemy. I need it to aim at the closest one. Any ideas?
