# Is there code so sprites only jump from platform they cannot jump from air

**URL:** <https://forum.makecode.com/t/is-there-code-so-sprites-only-jump-from-platform-they-cannot-jump-from-air/29449>\
**Category:** Help\
**Created:** [June 25, 2024, 10:56pm UTC](https://forum.makecode.com/t/is-there-code-so-sprites-only-jump-from-platform-they-cannot-jump-from-air/29449 "2024-06-25T22:56:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tina7t](https://avatars.discourse-cdn.com/v4/letter/t/3be4f8/32.png) [@tina7t](https://forum.makecode.com/u/tina7t)\
**Post date:** [June 25, 2024, 10:56pm UTC](https://forum.makecode.com/t/is-there-code-so-sprites-only-jump-from-platform-they-cannot-jump-from-air/29449/1 "2024-06-25T22:56:57Z")

</div>

Hi,whar code can i use to make my jumpoing only possible from platform and not allow jumping form the air - so they cannot double jump

---

<div class="post-metadata">

**Author:** ![anon30657772](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@anon30657772](https://forum.makecode.com/u/anon30657772)\
**Post date:** [June 25, 2024, 11:09pm UTC](https://forum.makecode.com/t/is-there-code-so-sprites-only-jump-from-platform-they-cannot-jump-from-air/29449/2 "2024-06-25T23:09:02Z")

</div>

Here’s a _quick_ mock-up of player only able to jump from a specific platform:

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

Hope this helps! 🙏
