Raycast hit and cast to a animation blueprint fail

HI everyone,I try to make a ray cast to hit a skeletal-mesh and set the variable(Speed) inside the animation blueprint ,but the problem is the “object type” I have no idea where I should pin to…or which part I missed…
please help,thx

I found a another way to achieve it,but need little extra time.
Add a empty Actor Bp inside +skeletalmesh and collision,inside the bp set a boolean first to trigger the animation,rest are the same.
and inside the CaracterBP I choose to “cast to” actor_BP,its easy to define the object type,and set the boolean to ture,

but i still want to know, how to cast to the animation BP and set the object type…it will be nice if anyone could teach me…