• Fortnite Documentation
    • What's New in Unreal Editor for Fortnite
    • Discover the Resources Waiting for You as a Fortnite Creator!
    • Get Started Creating in Fortnite
    • Island Settings
    • Editor User Interface
    • Creative User Interface
    • Import Content and Islands
    • Building Basics
    • Editor Best Practices
    • Programming with Verse
    • UEFN Starter Templates
    • Game Collections
    • Template Islands
    • Build a Game
    • Learn Game Mechanics
    • Device Design Examples
    • Scene Graph
    • AI and NPCs
    • Animation and Cinematics
    • Using Devices
    • Using Items
    • Fortnite Weapons Primer
    • In-Game User Interfaces
    • Physics
    • Environments and Landscapes
    • Memory and Optimization
    • Realistic Assets, Characters, and Environments
    • Using Prefabs and Galleries
    • Audio
    • Composing with Fortnite Patchwork
    • Lighting
    • Materials
    • Modeling
    • Intro to Post-processing
    • Visual Effects
    • Using Creator Portal
    • Island Moderation and Guidelines
    • Promoting Your Fortnite Island
    • Collaborate and Publish
    • Education
    • Verse Language Reference
      • Verse Language Version 1 Updates and Deprecations
      • Expressions
      • Comments
      • Constants and Variables
      • Common Types
      • Operators
      • Grouping
      • Code Blocks
      • Functions
      • Failure
      • Specifiers and Attributes
      • Control Flow
      • Time Flow and Concurrency
      • Container Types
      • Composite Types
      • Working with Verse Types
        • Type Casting and Conversion
        • Type Aliasing
        • Parametric Types
        • Type Macro
      • Modules and Paths
    • Video Tutorials
    • Fortnite Creative Glossary
    • Glossary for Unreal Editor for Fortnite
    • Verse Glossary
    • Verse API Reference
  1. Epic GamesDeveloper
  2. Working with Verse Types

Working with Verse Types

Learn how to do more with types in Verse.

Working with Verse Types

There are several ways you can work with types in Verse, shown in the pages below.

Type Casting and Conversion

Type Casting and Conversion

Use type casting to convert from one data type to another.

Type Aliasing

Type Aliasing

You can use a type alias to give a type a unique name without creating a new type.

Parametric Types

Parametric Types

Use parametric types as explicit type arguments to classes or functions, or as implicit type arguments to functions.

Type Macro

Type Macro

The type macro allows you to get the type of an expression. It can be used anywhere a type can be used.

  • verse
  • language
  • types

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library