# Touch interface, hold button

**URL:** <https://forums.unrealengine.com/t/touch-interface-hold-button/27110>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [April 11, 2015, 8:02am UTC](https://forums.unrealengine.com/t/touch-interface-hold-button/27110 "2015-04-11T08:02:35Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_e375f2fd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e375f2fd](https://forums.unrealengine.com/u/anonymous_user_e375f2fd)\
**Post date:** [April 11, 2015, 8:02am UTC](https://forums.unrealengine.com/t/touch-interface-hold-button/27110/1 "2015-04-11T08:02:35Z")

</div>

How do I create a button?  
To control the car?

![b31c4fb169612c64e51aa14cb830c98a0864cb41.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/3/1/b31c4fb169612c64e51aa14cb830c98a0864cb41.jpeg)

---

<div class="post-metadata">

**Author:** ![Pabooklas](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pabooklas](https://forums.unrealengine.com/u/Pabooklas)\
**Post date:** [April 11, 2015, 3:01pm UTC](https://forums.unrealengine.com/t/touch-interface-hold-button/27110/2 "2015-04-11T15:01:14Z")

</div>

Look up UMG tutorials. You create buttons using umg

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e375f2fd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e375f2fd](https://forums.unrealengine.com/u/anonymous_user_e375f2fd)\
**Post date:** [April 12, 2015, 3:33am UTC](https://forums.unrealengine.com/t/touch-interface-hold-button/27110/3 "2015-04-12T03:33:13Z")

</div>

> [@;269620](#):
>
> Look up UMG tutorials. You create buttons using umg

With UMG?  
How can I create?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e375f2fd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e375f2fd](https://forums.unrealengine.com/u/anonymous_user_e375f2fd)\
**Post date:** [April 13, 2015, 12:11pm UTC](https://forums.unrealengine.com/t/touch-interface-hold-button/27110/4 "2015-04-13T12:11:49Z")

</div>

Please help me. It is necessary

---

<div class="post-metadata">

**Author:** ![Pabooklas](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pabooklas](https://forums.unrealengine.com/u/Pabooklas)\
**Post date:** [April 13, 2015, 1:01pm UTC](https://forums.unrealengine.com/t/touch-interface-hold-button/27110/5 "2015-04-13T13:01:21Z")

</div>

> **[UMG UI Designer Quick Start Guide](https://docs.unrealengine.com/4.27/en-US/InteractiveExperiences/UMG/QuickStart/)**
>
> Getting started with using Unreal Motion Graphics in Unreal Engine 4.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e375f2fd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e375f2fd](https://forums.unrealengine.com/u/anonymous_user_e375f2fd)\
**Post date:** [April 13, 2015, 3:29pm UTC](https://forums.unrealengine.com/t/touch-interface-hold-button/27110/6 "2015-04-13T15:29:53Z")

</div>

> [@;270725](#):
>
> [https://docs.unrealengine.com/latest/INT/Engine/UMG/QuickStart/index.html](https://docs.unrealengine.com/latest/INT/Engine/UMG/QuickStart/index.html)

In the picture below, there is only one event!

Can you explain more?

 ![201522.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/7/8/78069fefaa0ce48d5b981e19deb20d6ce92b83bc.png)

---

<div class="post-metadata">

**Author:** ![Pabooklas](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pabooklas](https://forums.unrealengine.com/u/Pabooklas)\
**Post date:** [April 13, 2015, 7:36pm UTC](https://forums.unrealengine.com/t/touch-interface-hold-button/27110/7 "2015-04-13T19:36:06Z")

</div>

If you need on clicked and on released events, I would suggest using borders instead of buttons. I am at work so I cant give you examples atm. Search for other posts about umg on these forums pal.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e375f2fd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e375f2fd](https://forums.unrealengine.com/u/anonymous_user_e375f2fd)\
**Post date:** [April 14, 2015, 3:33pm UTC](https://forums.unrealengine.com/t/touch-interface-hold-button/27110/8 "2015-04-14T15:33:55Z")

</div>

> [@;271030](#):
>
> If you need on clicked and on released events, I would suggest using borders instead of buttons. I am at work so I cant give you examples atm. Search for other posts about umg on these forums pal.

Thank you  
My problem was solved.

---

<div class="post-metadata">

**Author:** ![Pabooklas](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pabooklas](https://forums.unrealengine.com/u/Pabooklas)\
**Post date:** [April 14, 2015, 5:10pm UTC](https://forums.unrealengine.com/t/touch-interface-hold-button/27110/9 "2015-04-14T17:10:25Z")

</div>

My pleasure

---

<div class="post-metadata">

**Author:** ![NickDarnell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NickDarnell](https://forums.unrealengine.com/u/NickDarnell)\
**Post date:** [April 15, 2015, 2:20pm UTC](https://forums.unrealengine.com/t/touch-interface-hold-button/27110/10 "2015-04-15T14:20:52Z")

</div>

For what it’s worth, we’ve added OnPressed and OnReleased to the Button for 4.8.

---

<div class="post-metadata">

**Author:** ![polymatheddy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@polymatheddy](https://forums.unrealengine.com/u/polymatheddy)\
**Post date:** [April 29, 2015, 9:36pm UTC](https://forums.unrealengine.com/t/touch-interface-hold-button/27110/11 "2015-04-29T21:36:44Z")

</div>

Hi NickDarnell 😃

Super happy to hear Onpressed and Onreleased for 4.8.  
Just a heads up, how soon would you figure is the release? Im just trying to figure out if i should bother building a rigged version if its right around the corner, thanks!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e375f2fd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e375f2fd](https://forums.unrealengine.com/u/anonymous_user_e375f2fd)\
**Post date:** [June 24, 2015, 12:20pm UTC](https://forums.unrealengine.com/t/touch-interface-hold-button/27110/12 "2015-06-24T12:20:43Z")

</div>

> [@NickDarnell;272338](#):
>
> For what it’s worth, we’ve added OnPressed and OnReleased to the Button for 4.8.

Thank you.  
But there is a problem!!  
When I want to press a few buttons, only one of these works.

---

<div class="post-metadata">

**Author:** ![NickDarnell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NickDarnell](https://forums.unrealengine.com/u/NickDarnell)\
**Post date:** [June 24, 2015, 12:41pm UTC](https://forums.unrealengine.com/t/touch-interface-hold-button/27110/13 "2015-06-24T12:41:28Z")

</div>

> [@Hamedudk;317737](#):
>
> Thank you.  
> But there is a problem!!  
> When I want to press a few buttons, only one of these works.

Turn off Focusable for the buttons.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e375f2fd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e375f2fd](https://forums.unrealengine.com/u/anonymous_user_e375f2fd)\
**Post date:** [June 24, 2015, 3:56pm UTC](https://forums.unrealengine.com/t/touch-interface-hold-button/27110/14 "2015-06-24T15:56:14Z")

</div>

> [@NickDarnell;317746](#):
>
> Turn off Focusable for the buttons.

Please explain more.  
I can not find (Focusable)

Thank you.

---

<div class="post-metadata">

**Author:** ![NickDarnell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NickDarnell](https://forums.unrealengine.com/u/NickDarnell)\
**Post date:** [June 24, 2015, 4:05pm UTC](https://forums.unrealengine.com/t/touch-interface-hold-button/27110/15 "2015-06-24T16:05:18Z")

</div>

> [@Hamedudk;317834](#):
>
> Please explain more.  
> I can not find (Focusable)
> 
> Thank you.

There’s a property called IsFocusable on button, set it to false. It’s listed under Interaction, possibly in the Advanced section depending on what version you have.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e375f2fd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e375f2fd](https://forums.unrealengine.com/u/anonymous_user_e375f2fd)\
**Post date:** [June 25, 2015, 5:32am UTC](https://forums.unrealengine.com/t/touch-interface-hold-button/27110/16 "2015-06-25T05:32:49Z")

</div>

> [@NickDarnell;317840](#):
>
> There’s a property called IsFocusable on button, set it to false. It’s listed under Interaction, possibly in the Advanced section depending on what version you have.

Thank you. Problem solved.
