# Programming a 2d side scroller melee attack

**URL:** <https://forums.unrealengine.com/t/programming-a-2d-side-scroller-melee-attack/438912>\
**Category:** Community & Industry Discussion\
**Tags:** platformer, unreal-engine, melee, question\
**Created:** [December 5, 2018, 1:18pm UTC](https://forums.unrealengine.com/t/programming-a-2d-side-scroller-melee-attack/438912 "2018-12-05T13:18:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_2be4245e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2be4245e](https://forums.unrealengine.com/u/anonymous_user_2be4245e)\
**Post date:** [December 5, 2018, 1:18pm UTC](https://forums.unrealengine.com/t/programming-a-2d-side-scroller-melee-attack/438912/1 "2018-12-05T13:18:38Z")

</div>

I urgently need help programming within the 2d side scroller area. I’d like to know how to program a melee attack for my character so that when idle and attacking, the idle attacking animation plays and when running and attacking, a run attack animation plays, along with programming for inflicting damage onto enemies. A screenshot of this programming blueprint would be appreciated but I would appreciate it even more if you could explain the process behind it or even if you are up to it make a video showing how you did it. I can also show you my animations. Thank you so much (also, ok to pay for the help if need be). 
