Here’s how you cast to an animBP from a different BP. If you are casting to it from the player BP itself, you can just start with the Get Anim Instance node with the skeletal mesh component plugged into it.
Basically, the game needs to know which instance of the animBP to look at, and you need to supply the skeletal mesh in question. For what I used, the skeleton is called “betaguy.” As long as you are pulling the player instance out of a casting, it will automatically use the skeletal mesh when you search for Get Anim Instance. Otherwise, you must manually supply its skeletal mesh.
The logic goes like this: Get Player Pawn > Cast to instance of player > Return player instance to get skeletal mesh > Get anim instance from that skeletal mesh > Cast to anim bp instance
Keep in mind that you can do all your casting on Begin Play or some other event, and store them as object variables. You drag the output object pin from a Cast node and select Promote to Variable at the top of the context window. That will save the actual instance of whatever BP you need to talk to, allowing you to grab events and functions and send data by simply dragging the output from a Get object variable node. It’s essential for any complex and repeated communication between BPs. You should never cast between BPs more than once.
Let me know if you need more info!