Referencing Actor in world using c++

Thanks for your response. It is placed in level. But it is helpful to me in future if you provide me both with code example. Thanks