How to cast to actor?

Thank you for you answer, I created c++ class MyDoorActor and place it in the world.