# Spawn a actor on the floor only

**URL:** <https://forums.unrealengine.com/t/spawn-a-actor-on-the-floor-only/461442>\
**Category:** Blueprint\
**Tags:** expose-on-spawn, unreal-engine, question, Blueprint\
**Created:** [February 7, 2020, 1:38am UTC](https://forums.unrealengine.com/t/spawn-a-actor-on-the-floor-only/461442 "2020-02-07T01:38:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ErnestoEASD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ErnestoEASD](https://forums.unrealengine.com/u/ErnestoEASD)\
**Post date:** [February 7, 2020, 1:38am UTC](https://forums.unrealengine.com/t/spawn-a-actor-on-the-floor-only/461442/1 "2020-02-07T01:38:28Z")

</div>

Is there some way to spawn a actor into the world but on the floor only?

For example im trying to avoid spawning a actor in mid air and so far i have no clue how to do this.

The spawning is all set up and ready to go the help im looking for is getting it to be placed on the floor only.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_4116411d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_4116411d](https://forums.unrealengine.com/u/anonymous_user_4116411d)\
**Post date:** [February 7, 2020, 2:05am UTC](https://forums.unrealengine.com/t/spawn-a-actor-on-the-floor-only/461442/2 "2020-02-07T02:05:34Z")

</div>

did you try using a line trace?

---

<div class="post-metadata">

**Author:** ![DonBusso](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DonBusso](https://forums.unrealengine.com/u/DonBusso)\
**Post date:** [February 7, 2020, 7:36am UTC](https://forums.unrealengine.com/t/spawn-a-actor-on-the-floor-only/461442/3 "2020-02-07T07:36:37Z")

</div>

Hey,  
You could do a line trace to the ground, and then use Location (from Break Hit Result) as your new spawn point for whatever you want to spawn. You will need to make a transform and plug in Location to it before connecting to Spawn Transform.

---

<div class="post-metadata">

**Author:** ![RafaLeao](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RafaLeao](https://forums.unrealengine.com/u/RafaLeao)\
**Post date:** [June 5, 2024, 3:51pm UTC](https://forums.unrealengine.com/t/spawn-a-actor-on-the-floor-only/461442/4 "2024-06-05T15:51:35Z")

</div>

and is it possible to show where the actor will be placed before its placed?  
That meaning that you can see the actor position moving and when a button is pressed it will be placed?

---

<div class="post-metadata">

**Author:** ![RafaLeao](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RafaLeao](https://forums.unrealengine.com/u/RafaLeao)\
**Post date:** [June 5, 2024, 3:51pm UTC](https://forums.unrealengine.com/t/spawn-a-actor-on-the-floor-only/461442/5 "2024-06-05T15:51:41Z")

</div>

Could you please show how to do a line trace to the ground? I cannot find anything on the internet.  
Thanks.
