VerseIsland
Feed Learn Leaderboard Guides Explore Search Docs Verse Library
Sign in
Feed Learn Leaderboard Guides Explore Search Docs Verse Library
Verse API › Devices · Up to Verse API · Devices · 884 of 1121 in Devices
Browse Verse API

Verse API reference page for the switch_device class

Used to allow agents to turn other linked devices on/off or other custom state changes.

Verse using statement using { /Fortnite.com/Devices }

Inheritance Hierarchy

This class is derived from the following hierarchy, starting with creative_object:

Name Description
creative_object Base class for creative devices and props.
creative_device_base Base class for creative_device.

Members

This class has both data members and functions.

Data

Data Member Name Type Description
ClearEvent listenable(payload) Signaled when the persistent data is cleared by the specified agent. Sends the agent that cleared persistent data on the device.
IfOffWhenCheckedEvent listenable(payload) Signaled if the switch is off when the state is checked.
IfOnWhenCheckedEvent listenable(payload) Signaled if the switch is on when the state is checked.
StateChangesEvent listenable(payload) Signaled when the switch state changes.
StateLoadEvent listenable(payload) Signaled when the switch state is loaded by the specified agent. Sends the agent that loaded the state on the device.
StateSaveEvent listenable(payload) Signaled when the switch state is saved.
TurnedOffEvent listenable(payload) Signaled when the switch is turned off by the specified agent. Sends the agent that turned off the device.
TurnedOnEvent listenable(payload) Signaled when the switch is turned on by the specified agent. Sends the agent that turned on the device.

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 May 14, 2026
    Keep exploring
    More in Devices · 884 of 1121
    Prev
    support a creator device
    Next
    checkstate
    Browse all files in this folder (A–Z)
    Next up
    • | [`creative_object`
    • | [`creative_device_base`
    • | [`CheckState`
    • | [`ClearAllPersistenceData`
    • | [`ClearPersistenceData`
    • | [`Disable`
    Related topics
    • Switch Device Devices
    • Switch Device Devices
    • Gameplay Controls Device Devices
    • Gameplay Controls Device Devices
    • Button Device Devices

    Related

    Open in graph →

    Related topics

    • Switch Device
    • Switch Device
    • Gameplay Controls Device
    • Gameplay Controls Device
    • Button Device
    VerseIsland · an archipelago of Verse & UEFN knowledge
    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.