Hi, sorry for my late reply, i had no chance viewing the unreal engine.
So my Controller is “Spawning_Ball_Controller” and my object is BP_FloatingActor_Object.
It is included in the header file of the controller with:
UPROPERTY(EditAnyhwere, Category = “My Spawning Object”)
TSubclassOf spawnedObject;