# Other alternative for the button a?

**URL:** <https://forum.makecode.com/t/other-alternative-for-the-button-a/33034>\
**Category:** Help\
**Created:** [January 8, 2025, 5:43pm UTC](https://forum.makecode.com/t/other-alternative-for-the-button-a/33034 "2025-01-08T17:43:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Littewolf23](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/littewolf23/32/19113_2.png) [@Littewolf23](https://forum.makecode.com/u/Littewolf23)\
**Post date:** [January 8, 2025, 5:43pm UTC](https://forum.makecode.com/t/other-alternative-for-the-button-a/33034/1 "2025-01-08T17:43:58Z")

</div>

So I have this problem where I want my Sprite when overlaps an object and if pressed A, the object pops up a text by example or makes it do something like start a fonction. So I have notice that when I have more then 2 “if… else… else” command, it pops up error and restart my game… can someone help me?

 ![1000006499](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/7/9/79a5c7621af68ac15c8332cc2fd5c4d4050e0aa9.png)
