How to cast to an actor?

I will try to fix it on my own