# IE\_Released touch event is called when a button is pressed

**URL:** <https://forums.unrealengine.com/t/ie-released-touch-event-is-called-when-a-button-is-pressed/582816>\
**Category:** UI\
**Tags:** Input, unreal-engine, UE4-26, question\
**Created:** [June 15, 2022, 6:25pm UTC](https://forums.unrealengine.com/t/ie-released-touch-event-is-called-when-a-button-is-pressed/582816 "2022-06-15T18:25:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DontShooot](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DontShooot](https://forums.unrealengine.com/u/DontShooot)\
**Post date:** [June 15, 2022, 6:25pm UTC](https://forums.unrealengine.com/t/ie-released-touch-event-is-called-when-a-button-is-pressed/582816/1 "2022-06-15T18:25:19Z")

</div>

Hi,  
I’m developing a mobile FPS game. I have a code for camera control, it binds to touch events like this

```auto
PlayerInputComponent->BindTouch(EInputEvent::IE_Pressed, this, &AMyPlayerController::BeginTouch);
		PlayerInputComponent->BindTouch(EInputEvent::IE_Released, this, &AMyPlayerController::EndTouch);

```

I store finger index which was pressed first and used for camera control. The problem is that whenever I press any button with my second finger, EndTouch is called with my first finger ID, even if my first finger still touching the screen.  
Logs look like this

```auto
//Touching a screen with my first finger
BeginTouch: FingerIndex 0. Store index for camera control: 0
//Keeping my first finger and pressing a button with my second finger
EndTouch: FingerIndex 0. Stored CameraControl index: 0
//Removing my first finger from screen
EndTouch: FingerIndex 0. Stored CameraControl index: 0

```

Does anyone know how to handle such situations otherwise than creating custom buttons?

---

<div class="post-metadata">

**Author:** ![acprog](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@acprog](https://forums.unrealengine.com/u/acprog)\
**Post date:** [January 26, 2026, 7:50am UTC](https://forums.unrealengine.com/t/ie-released-touch-event-is-called-when-a-button-is-pressed/582816/2 "2026-01-26T07:50:55Z")

</div>

The same problem. Have you found a solution?
