How to set an object reference of an actor that is spawned in?

Ah no you got me there😅