# Can I get the current distance of the Camera Spring Arm?

**URL:** <https://forums.unrealengine.com/t/can-i-get-the-current-distance-of-the-camera-spring-arm/284428>\
**Category:** Cinematics & Media\
**Tags:** unreal-engine, Collision, Blueprint, question\
**Created:** [May 28, 2014, 2:22pm UTC](https://forums.unrealengine.com/t/can-i-get-the-current-distance-of-the-camera-spring-arm/284428 "2014-05-28T14:22:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thumper](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Thumper](https://forums.unrealengine.com/u/Thumper)\
**Post date:** [May 28, 2014, 2:22pm UTC](https://forums.unrealengine.com/t/can-i-get-the-current-distance-of-the-camera-spring-arm/284428/1 "2014-05-28T14:22:04Z")

</div>

I’m using a camera spring arm and I would like to be able to get the distance it’s arm is currently. Meaning that if it is currently being pushed forward because it’s colliding with a wall or something, then I would like to get the distance it is at that call. All I see in BP is variable for getting the Arm length - but this doesn’t appear to give the distance it is rather the pre-set distance that it extends to.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_73094a6c1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_73094a6c1](https://forums.unrealengine.com/u/anonymous_user_73094a6c1)\
**Post date:** [December 14, 2015, 12:20am UTC](https://forums.unrealengine.com/t/can-i-get-the-current-distance-of-the-camera-spring-arm/284428/2 "2015-12-14T00:20:40Z")

</div>

Why has no one answered you?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [December 15, 2015, 8:40pm UTC](https://forums.unrealengine.com/t/can-i-get-the-current-distance-of-the-camera-spring-arm/284428/3 "2015-12-15T20:40:17Z")

</div>

Hello Thumper,

I was able to make up a quick example for you. I hope that this information helps.

Example:

In this example I get the current position of the camera and the origin point of the spring arm and subtract them from one another, from there I use vector length to get the distance between the two points. Please note that the event tick was used only as an example.

 ![70750-springarmlengthhelp.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/6/8/d6877aaed8d9325b0ab4138ff264c5b42ef1564a.png)

Make it a great day
