# Ray cast lever

**URL:** <https://forum.makecode.com/t/ray-cast-lever/30807>\
**Category:** Help\
**Created:** [September 24, 2024, 4:35pm UTC](https://forum.makecode.com/t/ray-cast-lever/30807 "2024-09-24T16:35:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ethan](https://avatars.discourse-cdn.com/v4/letter/e/8dc957/32.png) [@ethan](https://forum.makecode.com/u/ethan)\
**Post date:** [September 24, 2024, 4:35pm UTC](https://forum.makecode.com/t/ray-cast-lever/30807/1 "2024-09-24T16:35:25Z")

</div>

Can someone help me? I’m trying to make a lever that works in raycast but it keeps showing the original tile

---

<div class="post-metadata">

**Author:** ![Bifrosty](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/bifrosty/32/24819_2.png) [@Bifrosty](https://forum.makecode.com/u/Bifrosty)\
**Post date:** [September 24, 2024, 10:56pm UTC](https://forum.makecode.com/t/ray-cast-lever/30807/2 "2024-09-24T22:56:55Z")

</div>

This is a common problem with the raycasting extension. At some point in time the extension was updated to no longer include this feature. If you use an older version it should work how you want it to. An example of how to code the lever in an older version is below.

> **[LeverExample](https://arcade.makecode.com/S00617-47281-93139-87809)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

Let me know if you need anymore help.
