FVector Location(0.0f, 0.0f, 0.0f); FRotator Rotation(0.0f, 0.0f, 0.0f); GetWorld()->SpawnActor<AYourActor>(Location, Rotation);