# Get socket location and set Vector parameters value

**URL:** <https://forums.unrealengine.com/t/get-socket-location-and-set-vector-parameters-value/454289>\
**Category:** Character & Animation\
**Tags:** joints, unreal-engine, Blueprint, question, CPP\
**Created:** [August 23, 2019, 10:59am UTC](https://forums.unrealengine.com/t/get-socket-location-and-set-vector-parameters-value/454289 "2019-08-23T10:59:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![emrexconi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@emrexconi](https://forums.unrealengine.com/u/emrexconi)\
**Post date:** [August 23, 2019, 10:59am UTC](https://forums.unrealengine.com/t/get-socket-location-and-set-vector-parameters-value/454289/1 "2019-08-23T10:59:49Z")

</div>

there is just one connection that we need.  
i will show in the picture. we just need a converter between two values.—\>

Get “R\_eyeController” joint’s translate values

 ![285637-untitled-1.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/3/3/b3320028478f3f72345a6c4df3c9f0e3c995fc83.jpeg)

(x,y) and set them into “vector parameter value’s” R and G slot.

if you want you can see in the video

[![]( " - YouTube") ](https://www.youtube.com/watch?v=IhegjKT4OnM)

---

<div class="post-metadata">

**Author:** ![Marcis](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/marcis/32/1103070_2.png) [@Marcis](https://forums.unrealengine.com/u/Marcis)\
**Post date:** [August 23, 2019, 5:48pm UTC](https://forums.unrealengine.com/t/get-socket-location-and-set-vector-parameters-value/454289/2 "2019-08-23T17:48:48Z")

</div>

If I understood it correctly then right click on both pins and select “Split Struct Pin”

---

<div class="post-metadata">

**Author:** ![emrexconi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@emrexconi](https://forums.unrealengine.com/u/emrexconi)\
**Post date:** [August 23, 2019, 9:09pm UTC](https://forums.unrealengine.com/t/get-socket-location-and-set-vector-parameters-value/454289/3 "2019-08-23T21:09:08Z")

</div>

Thank you so much. but the last issue is how can i make update the values which is getting from the"R\_eyeController"s X and Y values?

when i run game it takes values once. doesn’t update.  
showing in the picture.  
285687-  
][1]

---

<div class="post-metadata">

**Author:** ![Marcis](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/marcis/32/1103070_2.png) [@Marcis](https://forums.unrealengine.com/u/Marcis)\
**Post date:** [August 23, 2019, 10:16pm UTC](https://forums.unrealengine.com/t/get-socket-location-and-set-vector-parameters-value/454289/4 "2019-08-23T22:16:41Z")

</div>

That’s because Begin Play fires only once at the beginning. If you want to update every frame then use Event Tick (can be costly if misused/overused)

---

<div class="post-metadata">

**Author:** ![emrexconi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@emrexconi](https://forums.unrealengine.com/u/emrexconi)\
**Post date:** [August 24, 2019, 8:43am UTC](https://forums.unrealengine.com/t/get-socket-location-and-set-vector-parameters-value/454289/5 "2019-08-24T08:43:06Z")

</div>

i completed ) thank you so much god bless you MacGowss
