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

oh, that’s just the way I found to access the actor I want to target that is in another blueprint. I don’t understand casting very well, so that’s what I used for now. It worked so I didn’t think it was actually wrong