# How to have a 2D object in raycasting

**URL:** https://forum.makecode.com/t/how-to-have-a-2d-object-in-raycasting/18207
**Category:** Help
**Created:** [March 1, 2023, 5:51am UTC](https://forum.makecode.com/t/how-to-have-a-2d-object-in-raycasting/18207 "2023-03-01T05:51:44Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![personalnote](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/personalnote/32/31359_2.png) [@personalnote](https://forum.makecode.com/u/personalnote)
#### Post date: [March 1, 2023, 11:19pm UTC](https://forum.makecode.com/t/how-to-have-a-2d-object-in-raycasting/18207/3 "2023-03-01T23:19:40Z")

</div>

my Halo-Doom is a good example to look at, although it might be outdated. Maybe you can scroll down to one of AqeeAqee’s posts where he edited it with the new raycasting extension.

[Introducing… Halo-Doom/Wolfenstein3D (But I’ll call it Halo-Doom)! - Arcade / Show & Tell - Microsoft MakeCode](https://forum.makecode.com/t/introducing-halo-doom-wolfenstein3d-but-ill-call-it-halo-doom/12325)

---

_[View the full topic](https://forum.makecode.com/t/how-to-have-a-2d-object-in-raycasting/18207)._
