VerseIsland
FeedLearnLeaderboardGuidesReferenceExploreSearchDocsVerse Library
Sign in
Feed Learn 📖 Codex Leaderboard Guides Reference Explore Search Docs Verse Library
Browse Fortnite›Tutorials·Up to Fortnite · Tutorials·63 of 107 in Tutorials

Flexible Gameplay Tutorial

Scene Graph provides multiple ways to create flexible and dynamic gameplay through the many different interactions between entities and components. This template showcase a few of the ways you can manipulate entities at runtime through spawning and removing entities, and how you can use component events and querying to create communication between entities and build reusable gameplay elements.

Spawning and Removing Prefabs

For example, check out the interactive pad in the second hall. When the player steps on the pad, a prefab lantern is added to the scene and removed when the player steps off the pad.

Open up SpawnPrefabDevice.verse to check out how this code works. This is a creative device that uses a Volume device to know when a player enters it. It then spawns a prefab and removes it when the player steps off the trigger. At the top of the SpawnPrefabDevice class definition, an editable TriggerVolume references the trigger volume in the level.

|  |  |
| --- | --- |
|  | SpawnPrefabDevice := class(creative_device): |
|  |  |
|  |  |
|  | @editable |
|  | TriggerVolume:volume_device = volume_device{} |

SpawnPrefabDevice := class(creative_device): @editable TriggerVolume:volume_device = volume_device{}

You're reading a preview

The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.

Sign in with Discord — free for members Read the original at Epic Games documentation

Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.

Guided course

Add this to your free study plan — we’ll suggest related material and stitch it into one compile-checked lesson.

Keep exploring
More in Tutorials · 63 of 107
Prev
sample tutorial 02 movement and interaction in fortnite
Next
science engineering and math lesson plans in fortnite creative
Browse all files in this folder (A–Z)

Source

Epic Games documentation

View original

Last updated 2026-05-12T22:11:16.981483+00:00

VerseIsland· an archipelago of Verse & UEFN knowledge
🗺️ Island atlasLearnGuidesHistoryAbout & PressSources & LicensingPrivacy PolicyTermsStatus

Not affiliated with Epic Games. Fortnite, UEFN, Unreal Engine, and Verse are trademarks of Epic Games, Inc. Content is attributed to its source — see Sources & Licensing.

🦜

Scout · your island guide

The Isle of Verse