# Change Touch Interface at runtime

**URL:** <https://forums.unrealengine.com/t/change-touch-interface-at-runtime/80309>\
**Category:** Mobile\
**Tags:** unreal-engine, Android\
**Created:** [December 10, 2016, 6:57pm UTC](https://forums.unrealengine.com/t/change-touch-interface-at-runtime/80309 "2016-12-10T18:57:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Waves](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/waves/32/1009258_2.png) [@Waves](https://forums.unrealengine.com/u/Waves)\
**Post date:** [December 10, 2016, 6:57pm UTC](https://forums.unrealengine.com/t/change-touch-interface-at-runtime/80309/1 "2016-12-10T18:57:39Z")

</div>

I need Touch Interface enabled on some levels but not on others. How can I enable/disable it via code?

Additionally how can I change the interface dynamically so it looks different during runtime. I know I can set this in Project -\> Input settings but I’d like to be able to do this at runtime.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_48f2118e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_48f2118e](https://forums.unrealengine.com/u/anonymous_user_48f2118e)\
**Post date:** [December 11, 2016, 10:12pm UTC](https://forums.unrealengine.com/t/change-touch-interface-at-runtime/80309/2 "2016-12-11T22:12:37Z")

</div>

To disable the touch interface, either call the “Remove All Widgets” blueprint node at runtime or go to “Project Settings \> Engine \> Input \> Mobile” and clear Default Touch Interface so it is not automatically created.

To create it at runtime, call Activate Touch Interface on your Player Controller.

---

<div class="post-metadata">

**Author:** ![I.PUBG.I](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@I.PUBG.I](https://forums.unrealengine.com/u/I.PUBG.I)\
**Post date:** [September 17, 2023, 7:26pm UTC](https://forums.unrealengine.com/t/change-touch-interface-at-runtime/80309/3 "2023-09-17T19:26:59Z")

</div>

activate touch interface does not work

---

<div class="post-metadata">

**Author:** ![Warlockaditya11](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Warlockaditya11](https://forums.unrealengine.com/u/Warlockaditya11)\
**Post date:** [October 31, 2023, 7:50pm UTC](https://forums.unrealengine.com/t/change-touch-interface-at-runtime/80309/4 "2023-10-31T19:50:36Z")

</div>

it works just put it in a new player controller bp

---

<div class="post-metadata">

**Author:** ![QFordLin](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/qfordlin/32/920369_2.png) [@QFordLin](https://forums.unrealengine.com/u/QFordLin)\
**Post date:** [April 8, 2024, 9:08am UTC](https://forums.unrealengine.com/t/change-touch-interface-at-runtime/80309/5 "2024-04-08T09:08:07Z")

</div>

it works for me from 2nd floor’s idea.

 ![2024.04.08_林七佛](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/3/9/239b3097a5d2b09019dae9ca74ebfcdfdc5f21fc.png)

---

<div class="post-metadata">

**Author:** ![Origins](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Origins](https://forums.unrealengine.com/u/Origins)\
**Post date:** [April 11, 2024, 4:38pm UTC](https://forums.unrealengine.com/t/change-touch-interface-at-runtime/80309/6 "2024-04-11T16:38:04Z")

</div>

Make it in Player Controller
