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

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

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

Comments

    Sign in to vote, comment, or suggest an edit. Sign in
    📄
    Source
    Epic Games

    © Epic Games. Official Epic developer documentation, shown here as a reference with a link to the original. All rights remain with Epic Games. Terms ↗

    View original Sources & licensing
    Request removal
    Last updated May 12, 2026
    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)
    Next up
    • Entities can also query for other entities using [overlap queries
    Related topics
    • Scene Graph Sample Tutorial In Unreal Editor For Fortnite Scene Graph
    • Sample Tutorial 01 Iteration In Scene Graph In Fortnite Scene Graph
    • Sample Tutorial 02 Movement And Interaction In Fortnite Tutorials
    • Custom Inventory And Items Overview In Fortnite Items
    • Getting Started In Scene Graph In Fortnite Scene Graph

    Related

    Open in graph →

    Related topics

    • Scene Graph Sample Tutorial In Unreal Editor For Fortnite
    • Sample Tutorial 01 Iteration In Scene Graph In Fortnite
    • Sample Tutorial 02 Movement And Interaction In Fortnite
    • Custom Inventory And Items Overview In Fortnite
    • Getting Started In Scene Graph In Fortnite
    VerseIsland · an archipelago of Verse & UEFN knowledge
    🗺️ Island atlas Learn Guides History About & Press Sources & Licensing Status

    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