# Blueprints Break Rotator result not in scope

**URL:** <https://forums.unrealengine.com/t/blueprints-break-rotator-result-not-in-scope/339820>\
**Category:** Blueprint\
**Tags:** bug, scope, unreal-engine, question, Blueprint\
**Created:** [November 27, 2015, 9:50am UTC](https://forums.unrealengine.com/t/blueprints-break-rotator-result-not-in-scope/339820 "2015-11-27T09:50:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![NenadM](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NenadM](https://forums.unrealengine.com/u/NenadM)\
**Post date:** [November 27, 2015, 9:50am UTC](https://forums.unrealengine.com/t/blueprints-break-rotator-result-not-in-scope/339820/1 "2015-11-27T09:50:54Z")

</div>

I have a variable Local\_ActorRot of type Rotator defined in my Blueprint as well as a float variable Local\_InputAngle. I also have a function StoreCameraRot in the same blueprint. When I use BreakRotator to get Yaw and store it into Local\_InputAngle, all the components of the BreakRotator result as “not in scope” and my variable remains allways 0 even though the Rotator is changing. The same thing happens if I try using BreakRotator directly in Event Graph (outside of a function).

 ![68406-bug.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/1/4/8142802ab300e3f4dca58f9498f2b9378d1aecde.jpeg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [November 27, 2015, 6:40pm UTC](https://forums.unrealengine.com/t/blueprints-break-rotator-result-not-in-scope/339820/2 "2015-11-27T18:40:27Z")

</div>

Hi NenadM,

This is expected behavior. There are a number of nodes, such as break rotator, break vector, etc. that do not appear in scope. The XYZ on the break Rotator don’t appear in scope because this function node is simply transmitting data from one type to another, they aren’t technically "real’ values in a sense, but a means to pass real values between two value types.

---

<div class="post-metadata">

**Author:** ![NenadM](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NenadM](https://forums.unrealengine.com/u/NenadM)\
**Post date:** [November 27, 2015, 8:52pm UTC](https://forums.unrealengine.com/t/blueprints-break-rotator-result-not-in-scope/339820/3 "2015-11-27T20:52:04Z")

</div>

Sorry to contradict that but Break Vector components (X,Y,Z) do apperar to be in scope - I tried that for comparison. Anyhow my problem remains: how else can I get the yaw I need other than using Break Rotator?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [November 30, 2015, 3:27pm UTC](https://forums.unrealengine.com/t/blueprints-break-rotator-result-not-in-scope/339820/4 "2015-11-30T15:27:39Z")

</div>

Hi NenadM,

Interesting, this may have been a recent addition to the editor that I missed. I tested on my end and sure enough you can view variables in scope on break nodes, I will keep this in mind for the future. I did a bit more digging and remembered that there is a bug report, UE-20846, that is specifically for variables appearing not in scope within Custom Functions. Can you try this in a custom event within the main event graph to see if the error is reproducible there?

---

<div class="post-metadata">

**Author:** ![NenadM](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NenadM](https://forums.unrealengine.com/u/NenadM)\
**Post date:** [December 9, 2015, 8:31am UTC](https://forums.unrealengine.com/t/blueprints-break-rotator-result-not-in-scope/339820/5 "2015-12-09T08:31:06Z")

</div>

I can confirm that as of version 4.10.1 Break Rotator now works and I can get the components from it. Thanks!
