# Tap to start game play unreal enine 4

**URL:** <https://forums.unrealengine.com/t/tap-to-start-game-play-unreal-enine-4/471451>\
**Category:** Modding\
**Tags:** unreal-engine, UE4, question\
**Created:** [September 16, 2020, 5:23pm UTC](https://forums.unrealengine.com/t/tap-to-start-game-play-unreal-enine-4/471451 "2020-09-16T17:23:32Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_43a30ac4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_43a30ac4](https://forums.unrealengine.com/u/anonymous_user_43a30ac4)\
**Post date:** [September 16, 2020, 5:23pm UTC](https://forums.unrealengine.com/t/tap-to-start-game-play-unreal-enine-4/471451/1 "2020-09-16T17:23:32Z")

</div>

I want to start game when user tap on anywhere of screen not the button to start how to do that in unreal engine 4.

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [September 16, 2020, 5:29pm UTC](https://forums.unrealengine.com/t/tap-to-start-game-play-unreal-enine-4/471451/2 "2020-09-16T17:29:16Z")

</div>

`Touch` in wherever you’re handling the input? Player Controller would be the best, I guess.

![313845-screenshot-2020-09-16-182751.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/7/6/07686fe6545841ccd9ca2374a7d3d73877e3b478.jpeg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_43a30ac4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_43a30ac4](https://forums.unrealengine.com/u/anonymous_user_43a30ac4)\
**Post date:** [September 16, 2020, 6:13pm UTC](https://forums.unrealengine.com/t/tap-to-start-game-play-unreal-enine-4/471451/3 "2020-09-16T18:13:33Z")

</div>

As on game load i show widget with tap to play text. I want to remove widget after user tap on screen . My player automatically run forward on event tick.

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [September 16, 2020, 6:19pm UTC](https://forums.unrealengine.com/t/tap-to-start-game-play-unreal-enine-4/471451/4 "2020-09-16T18:19:26Z")

</div>

You have 2 options here:

- make the widget `Not Hit-Testable` (so it’s just for show and cannot be interacted with) and implement the `Touch` in the Player Controller as seen above
- or override the appropriate event in the widget instead:

![313864-screenshot-2020-09-16-191840.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/d/c/9dc440817063d0f831f9a620ba0032458a2b9865.jpeg)

Both should work fine here.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_43a30ac4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_43a30ac4](https://forums.unrealengine.com/u/anonymous_user_43a30ac4)\
**Post date:** [September 16, 2020, 6:27pm UTC](https://forums.unrealengine.com/t/tap-to-start-game-play-unreal-enine-4/471451/5 "2020-09-16T18:27:24Z")

</div>

sorry but i do not getting you point. I am new to ue4. thats why i do not know much about it.

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [September 16, 2020, 6:52pm UTC](https://forums.unrealengine.com/t/tap-to-start-game-play-unreal-enine-4/471451/6 "2020-09-16T18:52:05Z")

</div>

When you create the widget, set it to Not Hit-Testable so it’s not in the way of the touch:

 ![313865-screenshot-2020-09-16-194927.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/8/f/68fef09802f14abf56cba50929cc0953054de48f.jpeg)

And then have the Touch in the Player Controller. That’s really it.

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [September 16, 2020, 6:53pm UTC](https://forums.unrealengine.com/t/tap-to-start-game-play-unreal-enine-4/471451/7 "2020-09-16T18:53:00Z")

</div>

If in doubt, show us how you’ve implemented both the widget and the touch.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_43a30ac4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_43a30ac4](https://forums.unrealengine.com/u/anonymous_user_43a30ac4)\
**Post date:** [September 17, 2020, 9:25am UTC](https://forums.unrealengine.com/t/tap-to-start-game-play-unreal-enine-4/471451/8 "2020-09-17T09:25:29Z")

</div>

i just have text on widget nothing else.in game mode begin play i load that widget and in player touch1 event i want to remove that widget. but there is option for remove all widgets but i want to remove that text only. And after touch the screen player start run forward like endless runner. I set the timer on touch1 event that not run the player.  
alt text

 ![313995-runplayer.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/b/7/db7bd7dee6490f627f43fd04991b3fd073976e32.png)

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [September 17, 2020, 9:47am UTC](https://forums.unrealengine.com/t/tap-to-start-game-play-unreal-enine-4/471451/9 "2020-09-17T09:47:18Z")

</div>

If you want to keep the widget and remove the text only, use `OnTouchStarted` as suggested above. Flag the text block `asVariable`, and set its `Visiblity` to hidden.

 ![314001-screenshot-2020-09-17-104551.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/5/d/75d1371f891bb663cbdbf124dc72753b76259d42.jpeg)

The widget needs to be in focus for this to work and has a Visible element to tap on. A fully transparent border could work, or even a simple canvas if you’re using one.
