# Can I get component relative position in actorBP?

**URL:** <https://forums.unrealengine.com/t/can-i-get-component-relative-position-in-actorbp/436803>\
**Category:** Blueprint\
**Tags:** UE4-19, relative-location, unreal-engine, question, Blueprint\
**Created:** [November 1, 2018, 2:20am UTC](https://forums.unrealengine.com/t/can-i-get-component-relative-position-in-actorbp/436803 "2018-11-01T02:20:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_13b01b5d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_13b01b5d](https://forums.unrealengine.com/u/anonymous_user_13b01b5d)\
**Post date:** [November 1, 2018, 2:20am UTC](https://forums.unrealengine.com/t/can-i-get-component-relative-position-in-actorbp/436803/1 "2018-11-01T02:20:12Z")

</div>

I want to get a component relative position in actorBP.  
But “Relative Location” node returns actor’s world position.  
Am I wrong about how to use it?

detail:

![258239-無題.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/a/9/4a95581750d8e99a8d865aac1651bb10277c9a73.png)

actorBP:

![258240-無題2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/3/8/938d2f64a203c21d0362403ce53f6757f23d9274.png)

---

<div class="post-metadata">

**Author:** ![PixelOmen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PixelOmen](https://forums.unrealengine.com/u/PixelOmen)\
**Post date:** [November 1, 2018, 7:08am UTC](https://forums.unrealengine.com/t/can-i-get-component-relative-position-in-actorbp/436803/2 "2018-11-01T07:08:43Z")

</div>

That is an excellent question, it might be a bug. Try using the Relative Transform instead and split the struct to get the location.

 ![258243-relativetransform.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/b/7/8b7ac538175557750bfbedd831f2b5f8befc8001.jpeg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_13b01b5d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_13b01b5d](https://forums.unrealengine.com/u/anonymous_user_13b01b5d)\
**Post date:** [November 1, 2018, 7:20am UTC](https://forums.unrealengine.com/t/can-i-get-component-relative-position-in-actorbp/436803/3 "2018-11-01T07:20:13Z")

</div>

Thank you for your help.  
It works!
