# How to make a Editable Text Box register input without having to click on it?

**URL:** <https://forums.unrealengine.com/t/how-to-make-a-editable-text-box-register-input-without-having-to-click-on-it/1940129>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [July 17, 2024, 2:13am UTC](https://forums.unrealengine.com/t/how-to-make-a-editable-text-box-register-input-without-having-to-click-on-it/1940129 "2024-07-17T02:13:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MGRay](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MGRay](https://forums.unrealengine.com/u/MGRay)\
**Post date:** [July 17, 2024, 2:13am UTC](https://forums.unrealengine.com/t/how-to-make-a-editable-text-box-register-input-without-having-to-click-on-it/1940129/1 "2024-07-17T02:13:00Z")

</div>

Hi all! For a game I’m making, I’m creating a little “Work on your computer” mini-game, and I’m just getting it set up. You can see it in the video below.  
[https://www.youtube.com/watch?v=Hj1au8mrnrE](https://www.youtube.com/watch?v=Hj1au8mrnrE)

So, when you press ‘E’ while looking at the computer, in this prototyped form, it brings up a text box, shows your computer cursor in-game, and switches your IMC to better register keyboard input. But as you can see in the video, you have to hover over the text box + click on it before you can start typing. What I want is for that editable text box to just immediately register keyboard inputs, without having to click on it with your mouse. Any idea how to make that happen?

Thanks so much for your time.

---

<div class="post-metadata">

**Author:** ![silnarm](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/silnarm/32/955303_2.png) [@silnarm](https://forums.unrealengine.com/u/silnarm)\
**Post date:** [July 17, 2024, 2:51am UTC](https://forums.unrealengine.com/t/how-to-make-a-editable-text-box-register-input-without-having-to-click-on-it/1940129/2 "2024-07-17T02:51:21Z")

</div>

Hi,

Have you tried calling `Set Keyboard Focus` on the widget after showing it?

If it does what it says on the box, should be just the ticket.

---

<div class="post-metadata">

**Author:** ![MGRay](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MGRay](https://forums.unrealengine.com/u/MGRay)\
**Post date:** [July 17, 2024, 2:57am UTC](https://forums.unrealengine.com/t/how-to-make-a-editable-text-box-register-input-without-having-to-click-on-it/1940129/3 "2024-07-17T02:57:16Z")

</div>

BEAUTIFUL! That was indeed the ticket! Thank you so so very much! 🥳

 ![THETICKET](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/d/c/cdc5355b132b0bab87a8f2d0a0e80cdbf4d32db3.png)

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [August 16, 2024, 2:57am UTC](https://forums.unrealengine.com/t/how-to-make-a-editable-text-box-register-input-without-having-to-click-on-it/1940129/4 "2024-08-16T02:57:58Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
