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 › Verse Language · Up to Fortnite · Verse Language · 37 of 570 in Verse Language
Browse Fortnite

Enum in Verse

Enum is short for enumeration, which means to name or list a series of things, called enumerators. This is a type in Verse that can be used for things like days of the week or compass directions.

Creating an enum in Verse

Click image to enlarge.

Closed and Open Enums

Verse uses the <open> and <closed> attribute specifiers on enums to determine how you can change the definition of the enum once your island is published.

Enums are closed by default. With closed enums, you cannot add or reorder enum values or change a closed enum to an open one once your island has been published.

Closed enums are best used for cases where your values are expected to stay the same, like days of the week.

With open enums, you can:

  • Add new enum values.
  • Reorder enum values.
  • Change an open enum to a closed enum.

Open enums are best used when you expect the number of values in your enum may increase in the future. For example, an enum of weapon types.

Open enums cannot be used in a case statement without a default case. Closed enums can be used in case statements without a default case only if all enumeration values have a case.

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 Mar 8, 2026
    Keep exploring
    More in Verse Language · 37 of 570
    Prev
    defer in verse
    Next
    expressions in verse
    Browse all files in this folder (A–Z)
    Next up
    • Verse Glossary
    • With **open** enums, you can:
    • For more details on persistence in Verse, check out [Using Persistable Data in Verse
    Related topics
    • Spawn On Enable Behavior Npcs & Ai
    • Session Environment Landscape
    • Input Method Input & Controls
    • Session Environment Landscape
    • Hive Stash Style Devices

    Related

    Open in graph →

    Linked docs

    • Verse Glossary

    Related topics

    • Spawn On Enable Behavior
    • Session Environment
    • Input Method
    • Session Environment
    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