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 · 65 of 570 in Verse Language
Browse Fortnite

Parametric Types in Verse

Parametric types refer to any type that can take a parameter. You can use parametric types in Verse to define generalized data structures and operations. There are two ways to use parametric types as arguments: either in functions as explicit or implicit type arguments, or in classes as explicit type arguments.

Events are a common example of parametric types and are used extensively throughout devices in UEFN. For instance, the Button device has the InteractedWithEvent, which occurs whenever a player interacts with the button. To see a parametric type in action, check out the CountdownEndedEvent from the Custom Countdown Timer tutorial.

Explicit Type Arguments

Consider a box that takes two arguments. The first_item initializes an ItemOne, and the second_item initializes an ItemTwo, both of type type. Both first_item and second_item are examples of parametric types that are explicit arguments to a class.

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 · 65 of 570
    Prev
    option in verse
    Next
    pizza pursuit 1 setting up the level for time trial in verse
    Browse all files in this folder (A–Z)
    Next up
    • [Parametric types
    • Making A Custom Countdown Timer Using Verse
    • Explicit Type Arguments
    • For another example, consider the `MakeOption()` function, which takes any type and returns an [`option`
    • Covariance and Contravariance refer to the relationship of two types when the types are used in [composite types
    Related topics
    • Parametric Types In Verse Verse Language
    • event Verse Language
    • Verse Language Quick Reference Verse Language
    • Working With Types In Verse Verse Language
    • Common Types In Verse Verse Language

    Related

    Open in graph →

    Linked docs

    • Verse Glossary
    • Making A Custom Countdown Timer Using Verse

    Related topics

    • Parametric Types In Verse
    • event
    • Verse Language Quick Reference
    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