Now let’s make the blueprint visual scripting for the blueprint.
Select and create a new asset Blueprint Class and name the class BP_Spawner
Right click and add a custom event and rename to SpawnActor.
Next drag from the pin and select a spawn actor from class.
Select to spawn the blueprint you created in the previous post.
Now from the Spawn Transform pin drag and connect a getactortransform.
Now compile and save.