VerseIsland
FeedLearnLeaderboardGuidesReferenceExploreSearchDocsVerse Library
Sign in
Feed Learn 📖 Codex Leaderboard Guides Reference Explore Search Docs Verse Library
Browse Fortnite›Materials/VFX·Up to Fortnite · Materials/VFX·55 of 211 in Materials/VFX

Finding Lights At Runtime Using Gameplay Tags

By completing this step in the Tagged Lights Puzzle tutorial, you'll learn how to use Verse Tags to find actors marked with a specific tag while the game is running. Verse Tags let you work with multiple devices without having to set up their references in the editor. This can open up interesting gameplay opportunities where, for example, your code dynamically changes which devices are active as the player progresses through the game.

Follow these steps to create a new Verse Tag and assign it to all the lights in the level for the puzzle:

  1. Open Verse Explorer and double-click tagged_lights_puzzle.verse to open the script in Visual Studio Code.

  2. At the top of the code file:

    • Add using { /Verse.org/Simulation/Tags } to reference the tag class and and use the FindCreativeObjectsWithTag() function.

    • Add using { /Verse.org/Simulation } to be able to make editable properties.

      |  |  |
      | --- | --- |
      |  | using { /Fortnite.com/Devices } |
      |  | using { /Verse.org/Native } |
      |  | using { /UnrealEngine.com/Temporary/Diagnostics } |
      |  | using { /Verse.org/Simulation/Tags } |
      |  | using { /Verse.org/Simulation } |
      |  |  |
      |  | log_tagged_lights_puzzle := class(log_channel){} |
      

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 Materials/VFX · 55 of 211
Prev
tagged lights 2 setting up the level in verse
Next
tagged lights 4 toggling lights with buttons in verse
Browse all files in this folder (A–Z)

Source

Epic Games documentation

View original

Last updated 2026-05-12T22:15:29.715046+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