Child Actor Component - Can't access parent variables

Hello, as the title says, i have a child Actor Component in one of my Enemy BPs, when i drag this child actor into the graph and try to pull from it i can’t access any of the variables, components or custom events of its parent. I haven’t used child BPs much so this might be super basic but i couldn’t find any information about it… Thanks in advance!

1
2

A child actor doesn’t have access to the parent actor’s variables.
You can get a reference to the parent and get the variables via that, but a child only has a parent’s variables when you are referring to class hierarchy.

You can get the reference via the Get Parent Actor node and cast the result to be the class you want

Thank you for the reply, i am a little lost in this particular situation… The parent is a a BP that contains only a skeletal mesh and a couple of variables, that skeletal mesh has a couple of animation montages, how can i get the child to play those montages?

Cast it to the class of the parent and get a reference to that mesh:


You can cast to your specific character (in this case TopDownCharacter), but the mesh is inherited from the Character class so you could also cast to that.