How to cast C++ variable to another Blueprint class

Yes. I did this. Unfortunately the Actor’s variable in blueprint returns error.