Actors spawn

I saw tutorial videos there developers use code to spawn actors with game logic. Instead putting them in player characters or controllers