VerseIsland
Feed Learn Leaderboard Guides Reference Explore Search Docs Verse Library
Sign in
Feed Learn 📖 Codex Leaderboard Guides Reference Explore Search Docs Verse Library
Verse Library › Devices
Browse Verse Library

Library

Devices 634
  • Devices144
  • Triggers & Logic106
  • Audio38
  • UI & HUD31
  • Items & Inventory27
  • Events24
  • Scoring & Objectives23
  • Spawning19
  • Classes & Interfaces17
  • Game Modes15
  • Props & Meshes13
  • Variables & Mutability12
  • Player Management9
  • Round Flow8
  • Modules & Structure7
  • Functions6
  • Getting Started6
  • Animation5
  • Teams & Classes5
  • VFX & Particles5
  • Concurrency4
  • NPCs & AI4
  • Tutorials4
  • Cameras3
  • Cinematics2
  • Control Flow2
  • Debugging2
  • Persistence2
  • Scene Graph2
  • Structs & Enums2
  • Arrays & Maps1
  • Building1
  • Other1
  • Physics1
  • Publishing & Islands1
  • Vehicles1
Verse Language 258
  • Control Flow35
  • Arrays & Maps23
  • Classes & Interfaces22
  • Variables & Mutability22
  • Concurrency21
  • Functions20
  • Syntax & Types15
  • Modules & Structure12
  • Debugging8
  • Devices8
  • Events7
  • Player Management6
  • Structs & Enums6
  • Triggers & Logic6
  • Spawning4
  • UI & HUD4
  • Failure & Options3
  • Game Modes3
  • Getting Started3
  • Round Flow3
  • Scene Graph3
  • Reference2
  • VFX & Particles2
  • Animation1
  • Best Practices1
Materials/VFX 154
  • Triggers & Logic24
  • UI & HUD16
  • Devices14
  • VFX & Particles9
  • Props & Meshes8
  • Items & Inventory7
  • Scoring & Objectives6
  • Animation3
  • Cinematics3
  • Classes & Interfaces3
  • Control Flow3
  • Spawning3
  • Arrays & Maps2
  • Events2
  • Functions2
  • Game Modes2
  • Modules & Structure2
  • Round Flow2
  • Scene Graph2
  • Variables & Mutability2
  • Persistence1
  • Player Management1
  • Structs & Enums1
  • Syntax & Types1
General 153
  • Devices22
  • Events20
  • Triggers & Logic20
  • Classes & Interfaces10
  • Variables & Mutability8
  • Round Flow6
  • Scoring & Objectives6
  • UI & HUD6
  • Functions5
  • Player Management5
  • Game Modes4
  • Getting Started4
  • Props & Meshes4
  • Control Flow3
  • Syntax & Types3
  • VFX & Particles3
  • Arrays & Maps2
  • Best Practices2
  • NPCs & AI2
  • Other2
  • Physics2
  • Scene Graph2
  • Spawning2
  • Structs & Enums2
  • Tutorials2
  • Building1
  • Cameras1
  • Cinematics1
  • Failure & Options1
  • Items & Inventory1
  • Teams & Classes1
Building & Props 131
  • Variables & Mutability15
  • Props & Meshes12
  • Triggers & Logic12
  • Classes & Interfaces10
  • Devices10
  • UI & HUD9
  • Events7
  • Teams & Classes7
  • Functions5
  • VFX & Particles5
  • Animation4
  • Building4
  • Control Flow3
  • Game Modes3
  • Items & Inventory3
  • Round Flow3
  • Scene Graph3
  • Structs & Enums3
  • Concurrency2
  • Arrays & Maps1
  • Modules & Structure1
Player 131
  • Player Management15
  • Teams & Classes13
  • Devices11
  • Classes & Interfaces10
  • Events7
  • Persistence6
  • Triggers & Logic5
  • Arrays & Maps4
  • Game Modes4
  • Functions3
  • Getting Started3
  • Round Flow3
  • Concurrency2
  • Control Flow2
  • Modules & Structure2
  • Scoring & Objectives2
  • Spawning2
  • Structs & Enums2
  • Debugging1
  • Props & Meshes1
  • Templates1
  • UI & HUD1
  • Variables & Mutability1
  • Weapons1
NPCs & AI 76
  • NPCs & AI27
  • Spawning7
  • Animation5
  • Variables & Mutability5
  • Classes & Interfaces3
  • Debugging3
  • UI & HUD3
  • Concurrency2
  • Props & Meshes2
  • Devices1
  • Functions1
  • Game Modes1
  • Getting Started1
  • Triggers & Logic1
  • VFX & Particles1
Spawning 73
  • Spawning26
  • Events5
  • Vehicles5
  • Concurrency3
  • Props & Meshes3
  • Devices2
  • Items & Inventory2
  • Player Management2
  • Scene Graph2
  • Control Flow1
  • Scoring & Objectives1
  • Teams & Classes1
Cinematics 71
  • Cameras17
  • Cinematics14
  • Devices8
  • Audio5
  • Animation4
  • Triggers & Logic4
  • Functions2
  • UI & HUD2
  • Classes & Interfaces1
  • Concurrency1
  • Control Flow1
  • Game Modes1
  • Items & Inventory1
  • Modules & Structure1
  • Scene Graph1
UI 57
  • UI & HUD28
  • Devices5
  • Scoring & Objectives4
  • Classes & Interfaces3
  • Round Flow1
  • Scene Graph1
  • Structs & Enums1
  • Triggers & Logic1
  • Variables & Mutability1
Scene Graph 41
  • Scene Graph10
  • Items & Inventory7
  • Classes & Interfaces3
  • Events3
  • Props & Meshes3
  • Arrays & Maps1
  • Building1
  • Control Flow1
  • Debugging1
  • Modules & Structure1
  • Player Management1
  • Reference1
  • Structs & Enums1
  • Syntax & Types1
  • Triggers & Logic1
  • UI & HUD1
  • VFX & Particles1
Tutorials 38
  • Game Modes5
  • Triggers & Logic5
  • Classes & Interfaces4
  • Devices3
  • Events3
  • Props & Meshes3
  • Building2
  • Items & Inventory2
  • Scoring & Objectives2
  • Animation1
  • Arrays & Maps1
  • Cameras1
  • Concurrency1
  • Physics1
  • Player Management1
  • Round Flow1
  • Structs & Enums1
Vehicles 38
  • Spawning10
  • Devices7
  • Vehicles7
  • Props & Meshes4
  • Game Modes2
  • Failure & Options1
  • Items & Inventory1
  • Teams & Classes1
  • Tutorials1
Weapons 30
  • Devices5
  • Game Modes3
  • Scoring & Objectives3
  • Spawning2
  • Teams & Classes2
  • Weapons2
  • Best Practices1
  • Functions1
  • Items & Inventory1
  • Triggers & Logic1
Items 28
  • Items & Inventory22
  • Devices2
  • Triggers & Logic2
  • Spawning1
Animation 19
  • Animation9
  • Variables & Mutability4
  • Devices1
  • Props & Meshes1
  • Scene Graph1
  • Syntax & Types1
Assets 19
  • Modules & Structure5
  • Scene Graph2
  • Best Practices1
  • Devices1
  • Events1
  • Failure & Options1
  • Functions1
  • Physics1
  • Variables & Mutability1
Release Notes 17
  • Classes & Interfaces5
  • Modules & Structure3
  • Concurrency2
  • Control Flow2
  • Variables & Mutability2
  • Debugging1
  • Devices1
  • Items & Inventory1
Input & Controls 16
  • Functions3
  • Control Flow2
  • Cinematics1
  • Debugging1
  • Devices1
  • Events1
  • UI & HUD1
Publishing 8
  • Control Flow5
  • Arrays & Maps1
  • Devices1
Audio 7
  • Audio5
  • UI & HUD1
Landscape 7
  • Other4
  • VFX & Particles2
  • Scene Graph1
Persistence 7
  • Persistence2
  • Structs & Enums2
  • Items & Inventory1
  • Publishing & Islands1
  • Variables & Mutability1
Physics 5
  • Classes & Interfaces1
  • Devices1
  • Syntax & Types1
Creator Economy 3
  • Modules & Structure1
  • Publishing & Islands1
Discovery 3
  • Devices1
  • NPCs & AI1
  • Structs & Enums1
Editor & Project 3
  • Other1
  • Props & Meshes1

Compass Device

using { /Fortnite.com/Devices }
using { /Fortnite.com/Characters }
using { /Fortnite.com/UI }
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/UI }
using { /UnrealEngine.com/Temporary/SpatialMath }
using { /Verse.org/Colors }
using { /Verse.org/Assets }

units := enum:
    KM
    M
    CM

compass_device := class(creative_device):

    # The unit of measurement for distance
    @editable
    Units : units = units.M
    # The size of the compass texture
    @editable
    CompassTextureSize : float = 45.0
    # The distance at which the compass will hide
    @editable
    DistanceToHideCompass : float = 300.0
    # The screen position of the compass
    @editable
    WidgetPos : vector2 = vector2{X := 0.5, Y := 0.9}
    # The alignment of the compass
    @editable
    WidgetAlignment : vector2 = vector2{X := 0.5, Y := 1.0}

    var TargetLocations : [player]vector3 = map{}
    var DistanceTextblocks: [player]text_block = map{}
    var DirectionWidgets: [player]texture_block = map{}
    var UIPerPlayer: [player]?canvas = map{}
    var BreakCompassAnimation: [player]?logic = map{}

    # Compass textures
    North : texture = UI.N
    NorthEast : texture = UI.NE
    East : texture = UI.E
    SouthEast : texture = UI.SE
    South : texture = UI.S
    SouthWest : texture = UI.SW
    West : texture = UI.W
    NorthWest : texture = UI.NW

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 Community

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
    PercyFN
    Epic Games Community
    PercyFN @Orientation

    Created by a member of the Epic Games community. Rights remain with the original author, under Epic's community content terms. Terms ↗

    View original Sources & licensing
    Request removal
    Last updated Jun 23, 2026
    Verse code
    Build failed · 8 errors
    Sign in to download .verse

    Copy-paste the code above is always free.

    Keep exploring
    More in Devices · 17 of 60
    Prev
    fortnite basic random item granter with buttons as input
    Next
    fortnite opt in selection pool device
    Related topics
    • Fortnite Customizable Height Distance Tracker Verse Language
    • Fortnite Tick Rate Graph Device Devices
    • Using Devices In Fortnite Devices
    • Using Devices In Fortnite Creative Devices
    • Fortnite Name Your Verse Device Devices

    Related

    Open in graph →

    Related topics

    • Fortnite Customizable Height Distance Tracker
    • Fortnite Tick Rate Graph Device
    • Using Devices In Fortnite
    • Using Devices In Fortnite Creative
    • Fortnite Name Your Verse Device
    VerseIsland · an archipelago of Verse & UEFN knowledge
    🗺️ Island atlas Learn Guides History About & Press Sources & Licensing Privacy Policy Terms 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