# Touch event works with only 1 instance of class

**URL:** <https://forums.unrealengine.com/t/touch-event-works-with-only-1-instance-of-class/302738>\
**Category:** Blueprint\
**Tags:** unreal-engine, touch-event, Blueprint, question\
**Created:** [December 31, 2014, 6:27am UTC](https://forums.unrealengine.com/t/touch-event-works-with-only-1-instance-of-class/302738 "2014-12-31T06:27:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![v36372\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@v36372\_1](https://forums.unrealengine.com/u/v36372_1)\
**Post date:** [December 31, 2014, 6:27am UTC](https://forums.unrealengine.com/t/touch-event-works-with-only-1-instance-of-class/302738/1 "2014-12-31T06:27:54Z")

</div>

Hello,

I am having 2 problems with touch events.

First, I have an instance of my class blueprint in my level. I would like to be able to click the instance and drag it. When I click and drag the instance very fast, the moment I release click, the mouse pointer ends up outside the box of my object. Therefore, the instance can’t fire the event OnInputTouchEnd(Box).

Second, to fix the first problem, I add the event InputTouch and connect the Released node to fire the event. However, this time I have 2 instances of my blueprint in the level. Then the Touch event only with only 1 instance, which is the instance NOT being debugged with. There are 2 instances of my blueprint in the level, which are Pivot and Pivot\_2

Here are some screen shots of my blueprint.

 ![blueprint pivot.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/4/5/45ab75dca53af670b08b47e7130809497503a44f.jpeg)

In the red region, the Pivot is the instance being debugged with. In the level, it doesn’t respond to the Touch Released event.

---

<div class="post-metadata">

**Author:** ![v36372\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@v36372\_1](https://forums.unrealengine.com/u/v36372_1)\
**Post date:** [January 8, 2015, 8:51am UTC](https://forums.unrealengine.com/t/touch-event-works-with-only-1-instance-of-class/302738/2 "2015-01-08T08:51:48Z")

</div>

sorry I bump this up. I really need some advice.

---

<div class="post-metadata">

**Author:** ![v36372\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@v36372\_1](https://forums.unrealengine.com/u/v36372_1)\
**Post date:** [January 14, 2015, 12:31pm UTC](https://forums.unrealengine.com/t/touch-event-works-with-only-1-instance-of-class/302738/3 "2015-01-14T12:31:37Z")

</div>

sorry I have to bump this up again. Holiday is over now, I hope someone might take a look pls 🙂

---

<div class="post-metadata">

**Author:** ![Naivrat](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Naivrat](https://forums.unrealengine.com/u/Naivrat)\
**Post date:** [July 11, 2015, 10:58am UTC](https://forums.unrealengine.com/t/touch-event-works-with-only-1-instance-of-class/302738/4 "2015-07-11T10:58:39Z")

</div>

I have the very same problem. The path:

1. I have created a cube
2. Converted it to blueprint
3. In the event graph placed “Event ActorOnClicked” and attached it to a boolean variable
4. placed 2 instanbces of the blueprint in the viewport
5. press play button

if i click the first instance everything is OK, but if i click 2nd instance of the same blueprint the event is not firing (

Please help is needed.
