# 2D enemy cannon

**URL:** <https://forums.unrealengine.com/t/2d-enemy-cannon/486245>\
**Category:** Asset Creation\
**Tags:** unreal-engine, enemy, question\
**Created:** [July 15, 2021, 10:05am UTC](https://forums.unrealengine.com/t/2d-enemy-cannon/486245 "2021-07-15T10:05:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Labrador23](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Labrador23](https://forums.unrealengine.com/u/Labrador23)\
**Post date:** [July 15, 2021, 10:05am UTC](https://forums.unrealengine.com/t/2d-enemy-cannon/486245/1 "2021-07-15T10:05:53Z")

</div>

How can i make a cannon in a 2D game that shoots automatic towards me after a certain amount of time? It doesnt matter if i have a wall in front of me, it shill shoots in the wall.

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [July 15, 2021, 11:53am UTC](https://forums.unrealengine.com/t/2d-enemy-cannon/486245/2 "2021-07-15T11:53:57Z")

</div>

Wouldn’t it be easier to grab the first tut from YT:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/6/8/668cfdaa7de7a1f6e83ec881083b2098f5c8f46e.jpeg "2D Scroller UE 4 Lesson 34 : Lets Make Some Rotating Turrets") ](https://www.youtube.com/watch?v=PDQDN-4jAWE)

Or remove a single axis as suggested in the previous thread you posted.
