# Sidescroller character doesn't collide with moving obstacle

**URL:** <https://forums.unrealengine.com/t/sidescroller-character-doesnt-collide-with-moving-obstacle/355607>\
**Category:** Character & Animation\
**Tags:** side-scroller, moving-object, unreal-engine, editor, UE4, question\
**Created:** [April 27, 2016, 3:17am UTC](https://forums.unrealengine.com/t/sidescroller-character-doesnt-collide-with-moving-obstacle/355607 "2016-04-27T03:17:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ShutUpNGoogleIt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ShutUpNGoogleIt](https://forums.unrealengine.com/u/ShutUpNGoogleIt)\
**Post date:** [April 27, 2016, 3:17am UTC](https://forums.unrealengine.com/t/sidescroller-character-doesnt-collide-with-moving-obstacle/355607/1 "2016-04-27T03:17:27Z")

</div>

In this sidescroller I’m making, I’m trying to make a moving obstacle that moves in and out on the x axis to push the player off the y axis. When ever my player goes in front of the moving block, they don’t collide with each other and the sidescroller character fazes through the moving block (like in the picture shown). I would like to know how to fix this. I’m guessing it has something to do with being locked on the y axis but i can’t find out how to unlock it. Please help me as soon as possible.

 ![88527-untitled.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/c/3/bc37c58d5920e33cdf6b774e9b4d1d96c27659b3.png)
