# Source URL: https://dev.epicgames.com/documentation/en-us/fortnite/sample-tutorial-03-flexible-gameplay-in-fortnite
# Local doc: epic-docs/documentation/en-us/fortnite/sample-tutorial-03-flexible-gameplay-in-fortnite.md
# Section: Spawning and Removing Prefabs
OnBegin<override>()<suspends>:void =
PrefabToSpawn:entity = LightPost.P_LightPost{}
SpawnTransform:transform = transform:
Translation := vector3:
Left := -9084.0
Up := -8.0
Forward := -919.0
Verse Library
verse
02 Spawning And Removing Prefabs
Defines a light post prefab and its initial spawn transform for runtime instantiation.
extracted-snippets/documentation/en-us/fortnite/sample-tutorial-03-flexible-gameplay-in-fortnite/02-spawning-and-removing-prefabs.verse