# Help with pikmin game throwing mechanic

**URL:** https://forum.makecode.com/t/help-with-pikmin-game-throwing-mechanic/39411
**Category:** Help
**Created:** [September 22, 2025, 12:25am UTC](https://forum.makecode.com/t/help-with-pikmin-game-throwing-mechanic/39411 "2025-09-22T00:25:55Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![BlobDev](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/blobdev/32/25519_2.png) [@BlobDev](https://forum.makecode.com/u/BlobDev)
#### Post date: [September 22, 2025, 12:25am UTC](https://forum.makecode.com/t/help-with-pikmin-game-throwing-mechanic/39411/1 "2025-09-22T00:25:56Z")

</div>

Hello, I need help making a mechanic for a pikmin game i want it to be like when you press the b button the pikmin gets thrown to the cusor sprite could someone help me?

---

<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: [September 22, 2025, 12:26am UTC](https://forum.makecode.com/t/help-with-pikmin-game-throwing-mechanic/39411/2 "2025-09-22T00:26:58Z")

</div>

> [@Experimenting with Browser Events](https://forum.makecode.com/t/experimenting-with-browser-events/39187/2):
>
> Something like this? P.S. Uses jwunderl’s sprite-utils. Paste the shortcut below into the extensions URL bar to import the extension. jwunderl/arcade-sprite-utils

---

<div class="post-metadata">

### Author: ![BlobDev](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/blobdev/32/25519_2.png) [@BlobDev](https://forum.makecode.com/u/BlobDev)
#### Post date: [September 22, 2025, 6:11pm UTC](https://forum.makecode.com/t/help-with-pikmin-game-throwing-mechanic/39411/3 "2025-09-22T18:11:41Z")

</div>

Thank you, but yhis does not help Here is the link to the gamr

> **[Shroomlings 1](https://arcade.makecode.com/08250-54636-22640-02896)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

I need it to throw only the pikmin that are following you (one at a time of course)

---

<div class="post-metadata">

### Author: ![Green\_Lizard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/green_lizard/32/33280_2.png) [@Green\_Lizard](https://forum.makecode.com/u/Green_Lizard)
#### Post date: [September 24, 2025, 2:52am UTC](https://forum.makecode.com/t/help-with-pikmin-game-throwing-mechanic/39411/4 "2025-09-24T02:52:19Z")

</div>

Try changing the type of the closet mushroom thing (And also use a variable to prevent it from changing multiple). So that then if you press B it will only throw 1 (and it will change the variable back to 0 and change the mushroom things type back to normal)
