About Cast to

I’m new to UE4.
I was trying to make a software like AimTraining as a practice, but I stumbled upon it, so I hope you can tell me what the problem is
I don’t know what to connect to the object.

!