# How to pass vector variables from character bp to animinstance bp?

**URL:** <https://forums.unrealengine.com/t/how-to-pass-vector-variables-from-character-bp-to-animinstance-bp/462252>\
**Category:** Blueprint\
**Tags:** variables-communicat, unreal-engine, Blueprint, question\
**Created:** [March 9, 2020, 10:02am UTC](https://forums.unrealengine.com/t/how-to-pass-vector-variables-from-character-bp-to-animinstance-bp/462252 "2020-03-09T10:02:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![LETTICONION](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LETTICONION](https://forums.unrealengine.com/u/LETTICONION)\
**Post date:** [March 9, 2020, 10:02am UTC](https://forums.unrealengine.com/t/how-to-pass-vector-variables-from-character-bp-to-animinstance-bp/462252/1 "2020-03-09T10:02:07Z")

</div>

Ok I am trying to pass a vector variables from my character bp to animinstance bp. Upto now I have created the variables in the character bp and tried (for first time) get all actors node in animinstance but unable to proceed further.

---

<div class="post-metadata">

**Author:** ![vib](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vib/32/88718_2.png) [@vib](https://forums.unrealengine.com/u/vib)\
**Post date:** [March 9, 2020, 10:11am UTC](https://forums.unrealengine.com/t/how-to-pass-vector-variables-from-character-bp-to-animinstance-bp/462252/2 "2020-03-09T10:11:16Z")

</div>

Either:

A) From the Anim BP: Try Get Pawn Owner → Cast to MyCharacter → Get MyVectorVariable

or

B) From Character BP: Drag “Mesh” (Skeletal Mesh) component into blueprint graph → Get Anim Instance → Cast to MyAnimInstance → Set MyVectorVariable
