# The fans are not working as intended

**URL:** <https://forum.makecode.com/t/the-fans-are-not-working-as-intended/33388>\
**Category:** Help\
**Created:** [January 24, 2025, 6:05pm UTC](https://forum.makecode.com/t/the-fans-are-not-working-as-intended/33388 "2025-01-24T18:05:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tsist](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/tsist/32/20588_2.png) [@Tsist](https://forum.makecode.com/u/Tsist)\
**Post date:** [January 24, 2025, 6:05pm UTC](https://forum.makecode.com/t/the-fans-are-not-working-as-intended/33388/1 "2025-01-24T18:05:22Z")

</div>

✔ I’m trying to make the fans lift the player up  
❌ When I do that I try to make sure that the fans **don’t** lift the player up when above the wall tile.  
× hint: code is on the bottom right with the nested logic blocks. ×  
Picture of the code:

 ![The code](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/2/1/21eb9fa1c3ca5edda4458e952472be8f8516f613.png)  
The game.

> **[Tsist Plat 9: Ventilation](https://arcade.makecode.com/S20420-65872-39552-48542)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![BLADEr](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/blader/32/16422_2.png) [@BLADEr](https://forum.makecode.com/u/BLADEr)\
**Post date:** [March 20, 2025, 12:28pm UTC](https://forum.makecode.com/t/the-fans-are-not-working-as-intended/33388/2 "2025-03-20T12:28:35Z")

</div>

You could make sprites shoot out of the tiles and delete when they hit another wall. Then just check if the player is touching a fan sprite and make the player go up. This way, you also get visual effects, and you could change the properties to get some really cool wind effects!

---

<div class="post-metadata">

**Author:** ![Luke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/luke/32/32519_2.png) [@Luke](https://forum.makecode.com/u/Luke)\
**Post date:** [March 21, 2025, 10:38pm UTC](https://forum.makecode.com/t/the-fans-are-not-working-as-intended/33388/3 "2025-03-21T22:38:58Z")

</div>

The sprite events ext might be useful, since you only want to register when a sprite is in an area or has left it

---

<div class="post-metadata">

**Author:** ![Tsist](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/tsist/32/20588_2.png) [@Tsist](https://forum.makecode.com/u/Tsist)\
**Post date:** [May 16, 2026, 9:14pm UTC](https://forum.makecode.com/t/the-fans-are-not-working-as-intended/33388/4 "2026-05-16T21:14:31Z")

</div>

I finally figured it out!

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/d/b/dbbf45ee07893300d4fbfe5fdc8272243c10a8de.png)  
All I needed was a break loop block and a tile data extension. Phew!
