# Spawn PCG point on a wall.

**URL:** <https://forums.unrealengine.com/t/spawn-pcg-point-on-a-wall/1205606>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [June 20, 2023, 8:17pm UTC](https://forums.unrealengine.com/t/spawn-pcg-point-on-a-wall/1205606 "2023-06-20T20:17:44Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Astrotronic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/astrotronic/32/1194566_2.png) [@Astrotronic](https://forums.unrealengine.com/u/Astrotronic)\
**Post date:** [June 22, 2023, 4:31pm UTC](https://forums.unrealengine.com/t/spawn-pcg-point-on-a-wall/1205606/2 "2023-06-22T16:31:10Z")

</div>

Hello @AFedeleallalinea11

I just briefly experimented with the ‘Ray Hit Query’ node and did not get the results I expected. (Setting Ray direction X axis to 1 did not place any points on the wall infront of me on the X axis)

Consider asking this in [this thread](https://forums.unrealengine.com/t/inside-unreal-deep-dive-into-the-electric-dreams-environment-sample-project/1206358) or on todays livestream.

---

_[View the full topic](https://forums.unrealengine.com/t/spawn-pcg-point-on-a-wall/1205606)._
