# Setting Collision Eliminate Touch Input

**URL:** <https://forums.unrealengine.com/t/setting-collision-eliminate-touch-input/369310>\
**Category:** World Creation\
**Tags:** unreal-engine, touch, Collision, question\
**Created:** [September 4, 2016, 7:51am UTC](https://forums.unrealengine.com/t/setting-collision-eliminate-touch-input/369310 "2016-09-04T07:51:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pelangi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pelangi](https://forums.unrealengine.com/u/Pelangi)\
**Post date:** [September 4, 2016, 7:51am UTC](https://forums.unrealengine.com/t/setting-collision-eliminate-touch-input/369310/1 "2016-09-04T07:51:19Z")

</div>

I found a really weird bug in UE. I’m targeting mobile platform. The steps to replicate is this:

1. Create an actor blueprint derived from `Actor` class.
2. Add a static mesh component and attach it to the root component.
3. Assign a static mesh to that component.
4. Add `OnInputTouchBegin` event to that mesh component. Do a simple print string on that event.
5. Change the Collision Presets to `NoCollision`.
6. Put that actor blueprint somewhere in the level.
7. Put a camera actor somewhere in that level too. But point that camera to that blueprint actor.
8. In the level blueprint, make sure to view the game from that camera by using `SetViewTargetWithBlend` function after event `BeginPlay`.
9. Play the game in PIE or Viewport.
10. Try to “touch” or “click” that actor in the game.

You’ll see that it will not fire the `OnInputTouchBegin` event. But if you change the Collision Presets to `BlockAll` or `BlockAllDynamic`, then it can fire that event.

So what does collision have to do with `OnInputTouchBegin` event?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [September 7, 2016, 7:27pm UTC](https://forums.unrealengine.com/t/setting-collision-eliminate-touch-input/369310/2 "2016-09-07T19:27:58Z")

</div>

Hi Pelangi,

This is expected behavior. The Touch input technically runs a linetrace out to test and see what is under the cursor/finger location to test what is hit. To do so, it uses the collision channel. If there is no collision it cannot register the hit. If you need no collision on the object, the best way to achieve this is to run a trace from the finger location when you use the touch input. Have it test for visibility and run an interface function message when hit. If the actor selected has implemented that interface, it will react accordingly.
