# C++ TargetArmLength member inaccessible

**URL:** <https://forums.unrealengine.com/t/c-targetarmlength-member-inaccessible/369496>\
**Category:** C++\
**Tags:** scope, unreal-engine, question, CPP\
**Created:** [September 5, 2016, 10:53pm UTC](https://forums.unrealengine.com/t/c-targetarmlength-member-inaccessible/369496 "2016-09-05T22:53:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![RyanAd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RyanAd](https://forums.unrealengine.com/u/RyanAd)\
**Post date:** [September 5, 2016, 10:53pm UTC](https://forums.unrealengine.com/t/c-targetarmlength-member-inaccessible/369496/1 "2016-09-05T22:53:04Z")

</div>

I started a new C++ third person project in Unreal Engine 4 and so looking at the cpp file, I noticed that I am getting red squiggly lines on some of the members I have on the starter project.

I am able to build the project so I know it’s OK. I just want to know if this is normal in C++ (Unreal development). I am a C# developer and I am new to C++ development and I get a little worried whenever I see red squiggly lines in my code.

 ![105801-ide_error.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/c/3/0c310b56a9f436650257ab1203ac31a6af445271.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_aa2a7fa1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_aa2a7fa1](https://forums.unrealengine.com/u/anonymous_user_aa2a7fa1)\
**Post date:** [September 6, 2016, 6:28am UTC](https://forums.unrealengine.com/t/c-targetarmlength-member-inaccessible/369496/2 "2016-09-06T06:28:40Z")

</div>

With the recent engine update, they probably made this member variable private. When you type out FollowCamera-\> wait for intellisence to kick in and display the available members/functions. Begin typing something like armlength, or setarmlength, and you should find a setter function or comparable function to access this functionality.

Sorry I can’t give you a specific function name, I can’t access the code right now.

---

<div class="post-metadata">

**Author:** ![RyanAd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RyanAd](https://forums.unrealengine.com/u/RyanAd)\
**Post date:** [September 8, 2016, 2:53am UTC](https://forums.unrealengine.com/t/c-targetarmlength-member-inaccessible/369496/3 "2016-09-08T02:53:49Z")

</div>

Wait so are you saying they forgot to update their cpp templates?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_aa2a7fa1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_aa2a7fa1](https://forums.unrealengine.com/u/anonymous_user_aa2a7fa1)\
**Post date:** [September 8, 2016, 3:16am UTC](https://forums.unrealengine.com/t/c-targetarmlength-member-inaccessible/369496/4 "2016-09-08T03:16:43Z")

</div>

I can’t speak to templates generated in the new version, but since 4.12 they laid the groundwork for a lot of changes that would produce compiler warnings, such as this one, in preparation for 4.13.

Here’s a good thread on a lot of those changes:

> **[4.12 Transition Guide](https://forums.unrealengine.com/showthread.php?112644-4-12-Transition-Guide)**
>
> Dear Community, Yay it is that happy time again! This is a thread where you can post compile errors you’ve solved during 4.12 upgrade, issues you have questions about regarding 4.12, and generally share anything you’re learning as you do the...

and the newest thread:

> **[4.13 Transition Guide](https://forums.unrealengine.com/showthread.php?121685-4-13-Transition-Guide)**
>
> Dear Community, Here is a thread where you can share all of your learnings as you upgrade your projects to 4.13! Here you can ask questions about strange compile errors, issues after upgrading a c++ project, and also share things you discover! ...

---

<div class="post-metadata">

**Author:** ![Falkitop](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Falkitop](https://forums.unrealengine.com/u/Falkitop)\
**Post date:** [December 3, 2021, 4:44pm UTC](https://forums.unrealengine.com/t/c-targetarmlength-member-inaccessible/369496/5 "2021-12-03T16:44:08Z")

</div>

guys read above, wonderful tip for looking at changed members in the new API
