The IsAttacking boolean is being casted from the player BP to the anim BP, transitioning between the states in the state machine.