# Is it possible to get the position of an Instigator?

**URL:** <https://forums.unrealengine.com/t/is-it-possible-to-get-the-position-of-an-instigator/1732268>\
**Category:** Verse\
**Tags:** unreal-editor-for-fortnite, fortnite\
**Created:** [March 5, 2024, 7:30pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-get-the-position-of-an-instigator/1732268 "2024-03-05T19:30:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![deemify](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/deemify/32/955210_2.png) [@deemify](https://forums.unrealengine.com/u/deemify)\
**Post date:** [March 5, 2024, 7:30pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-get-the-position-of-an-instigator/1732268/1 "2024-03-05T19:30:32Z")

</div>

Im trying to get the position of a damage instigator, but its just not working. Optimally, I want to get the position of an Elimanation Instigator, but that seems to not exists. Heres the code ive written so far, it teleports to a player on damage, but only the first player to join the world. It cant distinguish between the instigator and the damage reciver.

```
DoSwaglines(DamageResult : damage_result)<suspends> : void =
    if:
        Instigator := DamageResult.Instigator?
        Agent := Instigator.GetInstigatorAgent[]

    then:
        if (PlayerList := GetPlayspace().GetPlayers(), FortniteCharacter := PlayerList[2].GetFortCharacter[]):
            Rot := FortniteCharacter.GetViewRotation()
            PlayerPosition : vector3 = FortniteCharacter.GetTransform().Translation
        
            FollowerProp.MoveTo(PlayerPosition, rotation(Rot), 0.001)

```

---

<div class="post-metadata">

**Author:** ![Jeremy\_Choud](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jeremy_choud/32/907645_2.png) [@Jeremy\_Choud](https://forums.unrealengine.com/u/Jeremy_Choud)\
**Post date:** [March 7, 2024, 3:25pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-get-the-position-of-an-instigator/1732268/3 "2024-03-07T15:25:57Z")

</div>

why are you trying to get the 3rd index of PlayerList? (just need some more context)

---

<div class="post-metadata">

**Author:** ![Jeremy\_Choud](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jeremy_choud/32/907645_2.png) [@Jeremy\_Choud](https://forums.unrealengine.com/u/Jeremy_Choud)\
**Post date:** [March 8, 2024, 4:25pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-get-the-position-of-an-instigator/1732268/4 "2024-03-08T16:25:07Z")

</div>

Try this

```auto
DoSwaglines(DamageResult : damage_result)<suspends> : void =
        Time := 0.001
        if(Instigator := DamageResult.Instigator?):
            if(Agent := Instigator.GetInstigatorAgent[]):
                if(F_Char := Agent.GetFortCharacter[]):
                    F_Char_Rotation := F_Char.GetTransform().Rotation # or F_Char.GetViewRotation()
                    F_Char_Location := F_Char.GetTransform().Translation

                    Follower_Prop.MoveTo(F_Char_Location, F_Char_Rotation, Time)

```

---

<div class="post-metadata">

**Author:** ![deemify](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/deemify/32/955210_2.png) [@deemify](https://forums.unrealengine.com/u/deemify)\
**Post date:** [March 22, 2024, 6:43pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-get-the-position-of-an-instigator/1732268/5 "2024-03-22T18:43:17Z")

</div>

I was seeing if it would grab the 2nd player to join the world, it only works on the first player to join.

---

<div class="post-metadata">

**Author:** ![deemify](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/deemify/32/955210_2.png) [@deemify](https://forums.unrealengine.com/u/deemify)\
**Post date:** [March 22, 2024, 7:55pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-get-the-position-of-an-instigator/1732268/6 "2024-03-22T19:55:30Z")

</div>

I get the error that it is incompatible with value type tuple(). Any idea on how to fix?

---

<div class="post-metadata">

**Author:** ![im\_a\_lama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/im_a_lama/32/995063_2.png) [@im\_a\_lama](https://forums.unrealengine.com/u/im_a_lama)\
**Post date:** [March 25, 2024, 12:39pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-get-the-position-of-an-instigator/1732268/7 "2024-03-25T12:39:05Z")

</div>

What does “it” reference to in your sentence ?

---

<div class="post-metadata">

**Author:** ![Jeremy\_Choud](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jeremy_choud/32/907645_2.png) [@Jeremy\_Choud](https://forums.unrealengine.com/u/Jeremy_Choud)\
**Post date:** [March 27, 2024, 1:57pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-get-the-position-of-an-instigator/1732268/8 "2024-03-27T13:57:17Z")

</div>

what is it saying is a tuple?
