# I need help with y levels

**URL:** <https://forum.makecode.com/t/i-need-help-with-y-levels/42852>\
**Category:** Help\
**Created:** [March 22, 2026, 9:38pm UTC](https://forum.makecode.com/t/i-need-help-with-y-levels/42852 "2026-03-22T21:38:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![adicat](https://avatars.discourse-cdn.com/v4/letter/a/9de0a6/32.png) [@adicat](https://forum.makecode.com/u/adicat)\
**Post date:** [March 22, 2026, 9:38pm UTC](https://forum.makecode.com/t/i-need-help-with-y-levels/42852/1 "2026-03-22T21:38:08Z")

</div>

i’m making a game and i want a wall slide and I came up with an idea that involves tracking the players y level BUT I don’t actually know how to track the players y position 😅 so uh can anyone help me? also if anyone has other ideas to implement a wall slide comment that too

---

<div class="post-metadata">

**Author:** ![NeverStopTheCoder](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/neverstopthecoder/32/21194_2.png) [@NeverStopTheCoder](https://forum.makecode.com/u/NeverStopTheCoder)\
**Post date:** [March 23, 2026, 1:48am UTC](https://forum.makecode.com/t/i-need-help-with-y-levels/42852/2 "2026-03-23T01:48:34Z")

</div>

like so

![Screen recording 2026-03-22 7.45.35 PM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/7/8/7819b7c58d9f886f40a77b1f399030645ec2a7b7.gif)

so now the sprites x will always be tracked to the variable x and same with the y

---

<div class="post-metadata">

**Author:** ![Ayoub](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/ayoub/32/35544_2.png) [@Ayoub](https://forum.makecode.com/u/Ayoub)\
**Post date:** [March 23, 2026, 1:49am UTC](https://forum.makecode.com/t/i-need-help-with-y-levels/42852/3 "2026-03-23T01:49:54Z")

</div>

You can use this block in Sprites under the Physics section:

![{96BB188A-796A-4FD3-996E-A87C923FFC46}](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/9/e/9e09a107755868f813917376daa5ada07e7bc8fa.png)

By changing the “x” into a “y” it’ll return the current Y position value of the sprite.

---

<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:** [March 23, 2026, 1:50am UTC](https://forum.makecode.com/t/i-need-help-with-y-levels/42852/4 "2026-03-23T01:50:18Z")

</div>

You can track a sprite’s specific property with  
 ![Cool Block](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/0/5/051412c20ed5917c1a120b00e47a88bcd4a84906.png)  
Simply click the dropdown to select among the various sprite’s properties. \[1\]

* * *

1. Which includes the sprite’s “y” position.
