Animation BP for actors

In actor BP i set a variable to true when player character begin the overlap and false when over the overlap. In animation BP i cast the variable from actor BP and with her i set a new one that i use to ener the state.