Problem following a tutorial in docs.unrealengine

Go to the event graph of the MyCharacter BP, see if you can get the cast node. If you do, then just copy it from there to the animation graph.