# Variable out of Scope Issue

**URL:** <https://forums.unrealengine.com/t/variable-out-of-scope-issue/282872>\
**Category:** Editor Scripting\
**Tags:** Variable, casting, scope, unreal-engine, question, Blueprint\
**Created:** [May 8, 2014, 11:28pm UTC](https://forums.unrealengine.com/t/variable-out-of-scope-issue/282872 "2014-05-08T23:28:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Circuit.Rider](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Circuit.Rider](https://forums.unrealengine.com/u/Circuit.Rider)\
**Post date:** [May 8, 2014, 11:28pm UTC](https://forums.unrealengine.com/t/variable-out-of-scope-issue/282872/1 "2014-05-08T23:28:10Z")

</div>

Hello,

I’m trying to pass a variable from my character BP to my animation BP to control when the jump animation can be played. Right now my jump animation plays anytime I walk off a ledge.

I’ve cast the variable, yet it’s still saying that it’s out of scope.

Here’s my setup:

 ![5968-outofscope.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/c/1/8c1878de02edf57879b2c0a498f3816dd5c884e5.png)

 ![5969-outofscope1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/2/8/428a67203d932adedeae9ddbef88d874e36b2a3d.png)

Thank you.

---

<div class="post-metadata">

**Author:** ![polemos](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/polemos/32/766957_2.png) [@polemos](https://forums.unrealengine.com/u/polemos)\
**Post date:** [February 26, 2015, 9:57pm UTC](https://forums.unrealengine.com/t/variable-out-of-scope-issue/282872/2 "2015-02-26T21:57:07Z")

</div>

did you ever get this questioned answer? I am working on solving this for my self

---

<div class="post-metadata">

**Author:** ![Circuit.Rider](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Circuit.Rider](https://forums.unrealengine.com/u/Circuit.Rider)\
**Post date:** [February 27, 2015, 1:03am UTC](https://forums.unrealengine.com/t/variable-out-of-scope-issue/282872/3 "2015-02-27T01:03:00Z")

</div>

No, but I’ve realized that in the animation blueprint graph, every output variable says that it’s out of scope and it doesn’t seem to hurt anything.

---

<div class="post-metadata">

**Author:** ![Muzaheed](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/muzaheed/32/778940_2.png) [@Muzaheed](https://forums.unrealengine.com/u/Muzaheed)\
**Post date:** [March 30, 2015, 6:24am UTC](https://forums.unrealengine.com/t/variable-out-of-scope-issue/282872/4 "2015-03-30T06:24:53Z")

</div>

same happening on my side.and it hurts me.already lost 14 hour on that
