Try Get Pawn Owner Not Working In Anim BP

This is in an Anim BP. I have a nearly identical script in another Anim BP and it works fine. Why do I get this error at the bottom? I cant compile.

You are asking the compiler to get a reference to an “Actor” and then use that reference to get the “Owner” of said “Actor”. But you are calling this in an Animation BP which does not inherit from “Actor” so you actually need to feed in an “Actor” object reference into the “Try Get Pawn Owner” node because it is current;y set to “Self” which means that the current blueprint (for this to work) would have to be an “Actor” and it isn’t so you get this error. You need a proper reference to “Basic AI”.