In what ways can I optimize this bit of a blueprint?

What confuses me about Casting is the Object input, especially if I’m casting from one actor blueprint to another. If I cast to the player character, I can just plug the Object pin with a Player Pawn node, but if I’m casting between actor BPs that I made myself, I have no idea what to plug into that pin. Everything I tried gives me either a warning or a note, saying that whatever I’m doing is redundant. So I kind of gave up on trying and just used the Get All Actors of Class node in these scenarios. Could you shed some light on this?