# Thunkable Key Press Block

**URL:** <https://community.thunkable.com/t/thunkable-key-press-block/1272397>\
**Category:** Questions about Thunkable X\
**Created:** [May 9, 2021, 4:12pm UTC](https://community.thunkable.com/t/thunkable-key-press-block/1272397 "2021-05-09T16:12:40Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![human](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/human/32/101416_2.png) [@human](https://community.thunkable.com/u/human)\
**Post date:** [May 9, 2021, 4:12pm UTC](https://community.thunkable.com/t/thunkable-key-press-block/1272397/1 "2021-05-09T16:12:41Z")

</div>

Does thunkable have a block to check if a key (like 2, 4, or a) is pressed?

---

<div class="post-metadata">

**Author:** ![Dean\_Artis](https://avatars.discourse-cdn.com/v4/letter/d/a8b319/32.png) [@Dean\_Artis](https://community.thunkable.com/u/Dean_Artis)\
**Post date:** [May 9, 2021, 6:48pm UTC](https://community.thunkable.com/t/thunkable-key-press-block/1272397/2 "2021-05-09T18:48:12Z")

</div>

Are you serious?

Have you never seen the When Button Click block?

---

<div class="post-metadata">

**Author:** ![human](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/human/32/101416_2.png) [@human](https://community.thunkable.com/u/human)\
**Post date:** [May 9, 2021, 6:50pm UTC](https://community.thunkable.com/t/thunkable-key-press-block/1272397/3 "2021-05-09T18:50:55Z")

</div>

No, I mean is there a block that checks if a COMPUTER KEY is pressed, not a button.

---

<div class="post-metadata">

**Author:** ![Dean\_Artis](https://avatars.discourse-cdn.com/v4/letter/d/a8b319/32.png) [@Dean\_Artis](https://community.thunkable.com/u/Dean_Artis)\
**Post date:** [May 9, 2021, 6:53pm UTC](https://community.thunkable.com/t/thunkable-key-press-block/1272397/4 "2021-05-09T18:53:19Z")

</div>

Oh, ok then. Next time be more clear in what you are asking.

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [May 9, 2021, 7:09pm UTC](https://community.thunkable.com/t/thunkable-key-press-block/1272397/5 "2021-05-09T19:09:58Z")

</div>

No it does not. I really wish it did.

---

<div class="post-metadata">

**Author:** ![catsarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/catsarisky/32/100661_2.png) [@catsarisky](https://community.thunkable.com/u/catsarisky)\
**Post date:** [May 9, 2021, 7:22pm UTC](https://community.thunkable.com/t/thunkable-key-press-block/1272397/6 "2021-05-09T19:22:25Z")

</div>

I’m not 100% sure this is impossible. On iPhone live test, setting autofocus=true on an invisible text input works, and using a numeric keypad with the enter key disabled keeps the focus on.

UPDATE: New link. Still doesn’t work on web, but at least on iPhone, at least on Live test, the user can’t unfocus. [Thunkable](https://x.thunkable.com/copy/24590bc3276afb9a1d72b429571ce42f)

But it does not work on web. And I haven’t tested Android.

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [May 9, 2021, 10:43pm UTC](https://community.thunkable.com/t/thunkable-key-press-block/1272397/7 "2021-05-09T22:43:56Z")

</div>

My assumption is this feature would be desired for a web app that’s viewed on a computer rather than on a mobile device. But you found some interesting results.

---

<div class="post-metadata">

**Author:** ![catsarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/catsarisky/32/100661_2.png) [@catsarisky](https://community.thunkable.com/u/catsarisky)\
**Post date:** [May 9, 2021, 11:05pm UTC](https://community.thunkable.com/t/thunkable-key-press-block/1272397/8 "2021-05-09T23:05:47Z")

</div>

Agreed, although I know enough iPad users with keyboard cases that /maybe/.

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [May 9, 2021, 11:53pm UTC](https://community.thunkable.com/t/thunkable-key-press-block/1272397/9 "2021-05-09T23:53:36Z")

</div>

I tested it on Android and it’s working. The keyboard can be dismissed but when you press anywhere on the screen it comes up again.

[Edit]  
It seems only the top part of the screen that forces the keyboard to come up again. Not anywhere on the screen but only the top part of it.

---

<div class="post-metadata">

**Author:** ![human](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/human/32/101416_2.png) [@human](https://community.thunkable.com/u/human)\
**Post date:** [May 10, 2021, 12:08am UTC](https://community.thunkable.com/t/thunkable-key-press-block/1272397/10 "2021-05-10T00:08:13Z")

</div>

All right, thanks! I hope the Thunkable Team can make this soon!

---

<div class="post-metadata">

**Author:** ![catsarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/catsarisky/32/100661_2.png) [@catsarisky](https://community.thunkable.com/u/catsarisky)\
**Post date:** [May 10, 2021, 12:13am UTC](https://community.thunkable.com/t/thunkable-key-press-block/1272397/11 "2021-05-10T00:13:04Z")

</div>

I have a floating layer that’s a transparent text input box, done with absolute positioning - it’s possibly not big enough if you were using a larger device? (Or perhaps android positioned it differently.)

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [May 10, 2021, 12:24am UTC](https://community.thunkable.com/t/thunkable-key-press-block/1272397/12 "2021-05-10T00:24:10Z")

</div>

I haven’t checked your codes or design. Just tested the project as is. Next time I’m on the PC, I’ll check and if the floating layer needs more stretching will adjust and test again.

---

<div class="post-metadata">

**Author:** ![shriyaanven.k](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@shriyaanven.k](https://community.thunkable.com/u/shriyaanven.k)\
**Post date:** [August 4, 2023, 9:21pm UTC](https://community.thunkable.com/t/thunkable-key-press-block/1272397/13 "2023-08-04T21:21:45Z")

</div>

i was trying to find a computer key press too.  
**SEARCH**

---

<div class="post-metadata">

**Author:** ![shriyaanven.k](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@shriyaanven.k](https://community.thunkable.com/u/shriyaanven.k)\
**Post date:** [August 4, 2023, 9:22pm UTC](https://community.thunkable.com/t/thunkable-key-press-block/1272397/14 "2023-08-04T21:22:59Z")

</div>

how do i even find one?  
**AND IS IT EVEN POSSIBLE!?**

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [August 4, 2023, 11:27pm UTC](https://community.thunkable.com/t/thunkable-key-press-block/1272397/15 "2023-08-04T23:27:56Z")

</div>

No need for ALL CAPS in your posts. This was requested two years ago but hopefully they can add it soon. See this: [Add keyboard input · Issue #847 · thunkable/thunkable-issues · GitHub](https://github.com/thunkable/thunkable-issues/issues/847)

---

<div class="post-metadata">

**Author:** ![shriyaanven.k](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@shriyaanven.k](https://community.thunkable.com/u/shriyaanven.k)\
**Post date:** [August 6, 2023, 2:34am UTC](https://community.thunkable.com/t/thunkable-key-press-block/1272397/16 "2023-08-06T02:34:47Z")

</div>

**does a leader in thunkable work for thunkable?**

---

<div class="post-metadata">

**Author:** ![ak\_coder](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ak_coder/32/156215_2.png) [@ak\_coder](https://community.thunkable.com/u/ak_coder)\
**Post date:** [August 6, 2023, 2:20pm UTC](https://community.thunkable.com/t/thunkable-key-press-block/1272397/17 "2023-08-06T14:20:52Z")

</div>

Hey @shriyaanven.k, what does this mean, You can search it on internet. But please, don’t mix topics.

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [August 6, 2023, 2:36pm UTC](https://community.thunkable.com/t/thunkable-key-press-block/1272397/18 "2023-08-06T14:36:24Z")

</div>

No. A forum “leader” is a customer who has gained a certain level of trust through their actions on the forums.

See this for more information: [Understanding Discourse Trust Levels](https://blog.discourse.org/2018/06/understanding-discourse-trust-levels/)

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 1:22pm UTC](https://community.thunkable.com/t/thunkable-key-press-block/1272397/19 "2024-11-08T13:22:37Z")

</div>


