# Is there an extension that presses A or any other button for you as part of the code?

**URL:** <https://forum.makecode.com/t/is-there-an-extension-that-presses-a-or-any-other-button-for-you-as-part-of-the-code/31068>\
**Category:** Help\
**Created:** [October 8, 2024, 9:30pm UTC](https://forum.makecode.com/t/is-there-an-extension-that-presses-a-or-any-other-button-for-you-as-part-of-the-code/31068 "2024-10-08T21:30:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChimbroDaPro](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/chimbrodapro/32/15852_2.png) [@ChimbroDaPro](https://forum.makecode.com/u/ChimbroDaPro)\
**Post date:** [October 8, 2024, 9:30pm UTC](https://forum.makecode.com/t/is-there-an-extension-that-presses-a-or-any-other-button-for-you-as-part-of-the-code/31068/1 "2024-10-08T21:30:42Z")

</div>

You don’t understand how useful this would be…

---

<div class="post-metadata">

**Author:** ![DangerNoodle](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dangernoodle/32/14797_2.png) [@DangerNoodle](https://forum.makecode.com/u/DangerNoodle)\
**Post date:** [October 8, 2024, 9:49pm UTC](https://forum.makecode.com/t/is-there-an-extension-that-presses-a-or-any-other-button-for-you-as-part-of-the-code/31068/2 "2024-10-08T21:49:54Z")

</div>

so like… an autoclicker?

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [October 8, 2024, 9:50pm UTC](https://forum.makecode.com/t/is-there-an-extension-that-presses-a-or-any-other-button-for-you-as-part-of-the-code/31068/3 "2024-10-08T21:50:11Z")

</div>

ask and you will receive:

> **[arcade-button-press](https://arcade.makecode.com/75956-29457-40606-77993)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

remember to `release` the button before calling `press` a second time! otherwise the button events won’t fire correctly.

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [October 8, 2024, 10:18pm UTC](https://forum.makecode.com/t/is-there-an-extension-that-presses-a-or-any-other-button-for-you-as-part-of-the-code/31068/4 "2024-10-08T22:18:44Z")

</div>

now available in repo form:

> **[GitHub - riknoll/arcade-fake-button-press: A MakeCode Arcade extension that let's you...](https://github.com/riknoll/arcade-fake-button-press)**
>
> A MakeCode Arcade extension that let's you programmatically press buttons

@UnsignedArduino

---

<div class="post-metadata">

**Author:** ![ChimbroDaPro](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/chimbrodapro/32/15852_2.png) [@ChimbroDaPro](https://forum.makecode.com/u/ChimbroDaPro)\
**Post date:** [October 9, 2024, 9:23pm UTC](https://forum.makecode.com/t/is-there-an-extension-that-presses-a-or-any-other-button-for-you-as-part-of-the-code/31068/5 "2024-10-09T21:23:32Z")

</div>

THANK YOU SO MUCH! 😭

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [October 9, 2024, 11:09pm UTC](https://forum.makecode.com/t/is-there-an-extension-that-presses-a-or-any-other-button-for-you-as-part-of-the-code/31068/6 "2024-10-09T23:09:51Z")

</div>

pushed a new version that also has a way to set players as connected/disconnected:

![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/4/3/43dfaa7aed8ce8531c32ed1705b75b3207185bef.png)

a request from @KIKIvsIT

---

<div class="post-metadata">

**Author:** ![redSprite](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/redsprite/32/34262_2.png) [@redSprite](https://forum.makecode.com/u/redSprite)\
**Post date:** [October 10, 2024, 1:37pm UTC](https://forum.makecode.com/t/is-there-an-extension-that-presses-a-or-any-other-button-for-you-as-part-of-the-code/31068/7 "2024-10-10T13:37:32Z")

</div>

Ooh cool
