I would like to be passing the variable from the thirdpersoncharacter to the blueprint animbp, if in case you have tbm alternatives accepted, I thank you
Generally you do not pass in values directly to the Animation Blueprint, the Animation Blueprint instead reads values from a reference to the Pawn Owner.