# How do i "attach" sprites to other sprites? (Desc for extra info)

**URL:** <https://forum.makecode.com/t/how-do-i-attach-sprites-to-other-sprites-desc-for-extra-info/41637>\
**Category:** Help\
**Created:** [January 21, 2026, 12:13am UTC](https://forum.makecode.com/t/how-do-i-attach-sprites-to-other-sprites-desc-for-extra-info/41637 "2026-01-21T00:13:25Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![DimonSw0rd11](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dimonsw0rd11/32/32564_2.png) [@DimonSw0rd11](https://forum.makecode.com/u/DimonSw0rd11)\
**Post date:** [January 21, 2026, 12:13am UTC](https://forum.makecode.com/t/how-do-i-attach-sprites-to-other-sprites-desc-for-extra-info/41637/1 "2026-01-21T00:13:25Z")

</div>

I know you can set sprite A position to sprite B x and y, but i want different collisions in a sprite that are toggleable, as im making a platformer with the T tetromino. I dont know how to explain this well but ill try giving more info if needed. (Using block code)

---

<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:** [January 21, 2026, 3:35am UTC](https://forum.makecode.com/t/how-do-i-attach-sprites-to-other-sprites-desc-for-extra-info/41637/2 "2026-01-21T03:35:43Z")

</div>

So you want to attach a sprite to a sprite and be able to toggle which sprite can collide with objects in the simulator?

---

<div class="post-metadata">

**Author:** ![Allegory\_Cheese](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/allegory_cheese/32/31845_2.png) [@Allegory\_Cheese](https://forum.makecode.com/u/Allegory_Cheese)\
**Post date:** [January 21, 2026, 5:35pm UTC](https://forum.makecode.com/t/how-do-i-attach-sprites-to-other-sprites-desc-for-extra-info/41637/3 "2026-01-21T17:35:35Z")

</div>

im pretty sure the blue guy with the hair already made an extension for that

---

<div class="post-metadata">

**Author:** ![DimonSw0rd11](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dimonsw0rd11/32/32564_2.png) [@DimonSw0rd11](https://forum.makecode.com/u/DimonSw0rd11)\
**Post date:** [January 21, 2026, 6:01pm UTC](https://forum.makecode.com/t/how-do-i-attach-sprites-to-other-sprites-desc-for-extra-info/41637/4 "2026-01-21T18:01:43Z")

</div>

Pretty much yeah

---

<div class="post-metadata">

**Author:** ![DimonSw0rd11](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dimonsw0rd11/32/32564_2.png) [@DimonSw0rd11](https://forum.makecode.com/u/DimonSw0rd11)\
**Post date:** [January 21, 2026, 6:04pm UTC](https://forum.makecode.com/t/how-do-i-attach-sprites-to-other-sprites-desc-for-extra-info/41637/5 "2026-01-21T18:04:52Z")

</div>

Could you send a link to the extension?

---

<div class="post-metadata">

**Author:** ![DimonSw0rd11](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dimonsw0rd11/32/32564_2.png) [@DimonSw0rd11](https://forum.makecode.com/u/DimonSw0rd11)\
**Post date:** [January 21, 2026, 10:31pm UTC](https://forum.makecode.com/t/how-do-i-attach-sprites-to-other-sprites-desc-for-extra-info/41637/6 "2026-01-21T22:31:52Z")

</div>

> **[Tetromino game (unplayable rn)](https://arcade.makecode.com/20446-16496-47368-51993)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

This is the game rn if that helps, i would use a single sprite and change image but that makes extra collisions that i dont want

---

<div class="post-metadata">

**Author:** ![Ima.notarobot](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/ima.notarobot/32/26551_2.png) [@Ima.notarobot](https://forum.makecode.com/u/Ima.notarobot)\
**Post date:** [January 22, 2026, 10:10pm UTC](https://forum.makecode.com/t/how-do-i-attach-sprites-to-other-sprites-desc-for-extra-info/41637/7 "2026-01-22T22:10:09Z")

</div>

You could do one of the two solutions:

1 following a sprite: using the sprite utils get the distance between 2 sprites. If its to far make the sprite get the following block to whoever it is attached to. If its close enough make it stop moving with the if else set my sprite to follow with speed of zero.

If you want to connect to sprites,

1. On game update
2. set sprite x to my sprite x
3. set sprite y to my sprite y

if you want to change its position you could say:

set sprite y to my sprite y+10

---

<div class="post-metadata">

**Author:** ![Allegory\_Cheese](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/allegory_cheese/32/31845_2.png) [@Allegory\_Cheese](https://forum.makecode.com/u/Allegory_Cheese)\
**Post date:** [January 22, 2026, 10:10pm UTC](https://forum.makecode.com/t/how-do-i-attach-sprites-to-other-sprites-desc-for-extra-info/41637/8 "2026-01-22T22:10:12Z")

</div>

dont remember it

---

<div class="post-metadata">

**Author:** ![Allegory\_Cheese](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/allegory_cheese/32/31845_2.png) [@Allegory\_Cheese](https://forum.makecode.com/u/Allegory_Cheese)\
**Post date:** [January 23, 2026, 3:45am UTC](https://forum.makecode.com/t/how-do-i-attach-sprites-to-other-sprites-desc-for-extra-info/41637/9 "2026-01-23T03:45:53Z")

</div>

Wait its the one made by Sonicblastion called smth like sprite collisions
