# Get Projectile initial position on Event Location

**URL:** <https://forums.unrealengine.com/t/get-projectile-initial-position-on-event-location/454850>\
**Category:** Blueprint\
**Tags:** projectile-movement, unreal-engine, UE4, Blueprint, question\
**Created:** [September 4, 2019, 4:01pm UTC](https://forums.unrealengine.com/t/get-projectile-initial-position-on-event-location/454850 "2019-09-04T16:01:26Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![zghenzi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zghenzi](https://forums.unrealengine.com/u/zghenzi)\
**Post date:** [September 4, 2019, 4:01pm UTC](https://forums.unrealengine.com/t/get-projectile-initial-position-on-event-location/454850/1 "2019-09-04T16:01:26Z")

</div>

How can I get the initial position from where my projectile was fired? I tried getting ActorLocation from my Player Controller but it seems it’s not working as expected, the damaged actor gets the damaged sensed but doesn’t go exactly to the area where the Projectile was fired - it stays +/- half way from desired position, other times it just gets the location completely wrong.

This was done on my Projectile blueprint:

 ![286461-5656.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/6/e/d6e58299f3046c499b613f1a21785ade3f2e36e1.png)

Thanks.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [September 4, 2019, 7:24pm UTC](https://forums.unrealengine.com/t/get-projectile-initial-position-on-event-location/454850/2 "2019-09-04T19:24:21Z")

</div>

I’m a little confused. You have to specify the location when you spawn the projectile, don’t you?

As for the location it hits, you get that from breaking the hit out.

Can you be a little more specific? Thanks 🙂

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [September 4, 2019, 7:28pm UTC](https://forums.unrealengine.com/t/get-projectile-initial-position-on-event-location/454850/3 "2019-09-04T19:28:44Z")

</div>

Ah, sorry, got it now… you mean where the projectile hit, right? Are you doing a line trace to fire the projectile? You can get the hit location from breaking the hit:

> **[Break Hit Result](https://docs.unrealengine.com/4.27/en-US/BlueprintAPI/Collision/BreakHitResult/)**
>
> Break Hit Result

---

<div class="post-metadata">

**Author:** ![zghenzi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zghenzi](https://forums.unrealengine.com/u/zghenzi)\
**Post date:** [September 4, 2019, 10:53pm UTC](https://forums.unrealengine.com/t/get-projectile-initial-position-on-event-location/454850/4 "2019-09-04T22:53:09Z")

</div>

Hello, I want to be able to get the vector from where the projectile was shot as my Damage Event Location, so when I hit my Bot, he senses the damage and proceeds to search at the specified location (which is the Event Location aka initial projectile spawn location aka where I fired 🙂 )

---

<div class="post-metadata">

**Author:** ![zghenzi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zghenzi](https://forums.unrealengine.com/u/zghenzi)\
**Post date:** [September 4, 2019, 10:54pm UTC](https://forums.unrealengine.com/t/get-projectile-initial-position-on-event-location/454850/5 "2019-09-04T22:54:41Z")

</div>

So from your link I need to connect the Hit from my Event Hit to BreakHitResult Hit node and then get the Trace Start to my Event Location on Report Damage Event, is that right? Thanks.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [September 5, 2019, 6:41am UTC](https://forums.unrealengine.com/t/get-projectile-initial-position-on-event-location/454850/6 "2019-09-05T06:41:58Z")

</div>

How did you shoot the projectile? I thought you had to make a line trace anyway before you spawned the projectile. This would mean you already know where it’s coming from…

---

<div class="post-metadata">

**Author:** ![expose](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@expose](https://forums.unrealengine.com/u/expose)\
**Post date:** [September 5, 2019, 10:44pm UTC](https://forums.unrealengine.com/t/get-projectile-initial-position-on-event-location/454850/7 "2019-09-05T22:44:55Z")

</div>

hey there !  
in your projectile blueprint , create a vector variable, make it instance editable and expose on spawn.  
when you spawn your projectile, you will be able to set that variable using the spawn location, and read it later.
