# How to ask player 2 for a number / string?

**URL:** <https://forum.makecode.com/t/how-to-ask-player-2-for-a-number-string/35760>\
**Category:** Help\
**Tags:** game\
**Created:** [April 16, 2025, 5:35pm UTC](https://forum.makecode.com/t/how-to-ask-player-2-for-a-number-string/35760 "2025-04-16T17:35:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kura](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kura/32/18631_2.png) [@Kura](https://forum.makecode.com/u/Kura)\
**Post date:** [April 16, 2025, 5:35pm UTC](https://forum.makecode.com/t/how-to-ask-player-2-for-a-number-string/35760/1 "2025-04-16T17:35:00Z")

</div>

I’m wondering if there’s a way to use the “ask for number” block, but only player 1 can input a number, or only player 2 can enter a number.

---

<div class="post-metadata">

**Author:** ![WoofWoof](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/woofwoof/32/32523_2.png) [@WoofWoof](https://forum.makecode.com/u/WoofWoof)\
**Post date:** [April 16, 2025, 6:41pm UTC](https://forum.makecode.com/t/how-to-ask-player-2-for-a-number-string/35760/2 "2025-04-16T18:41:24Z")

</div>

There is definitely a way to do this, but idk how hard it would be. I’ll take a look and let you know if I find an easy way to do it. Obviously, you could just make your own Ask Number function, using something like the text sprite extension.

---

<div class="post-metadata">

**Author:** ![AlexK](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/alexk/32/33339_2.png) [@AlexK](https://forum.makecode.com/u/AlexK)\
**Post date:** [April 17, 2025, 1:50am UTC](https://forum.makecode.com/t/how-to-ask-player-2-for-a-number-string/35760/3 "2025-04-17T01:50:22Z")

</div>

I have a multiplayer keyboard extension, but I haven’t tried it with v.2 of MakeCode. The MakeCode team did a bunch of changes to the built-in keyboard, and I’m not sure if my extension will still work. I’ll add it to the list for this weekend. Will keep you posted!
