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 · 103 of 1121 in Devices
Browse Verse API

Verse API reference page for the button_device class

Used to create a button which can trigger other devices when an agent interacts with it.

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
InteractedWithEvent listenable(payload) Signaled when an agent successfully interacts with the button for GetInteractionTime seconds. Sends the agent that interacted with the button.

Functions

Function Name Description
Disable Disables this device.
Enable Enables this device.
GetGlobalTransform Gets the global transform of this object.
GetInteractionTime Returns the duration of the interaction required to activate this device (in seconds).
GetMaxTriggerCount Returns the maximum amount of times this button can be interacted with before it will be disabled. * GetTriggerMaxCount will be between 0 and 10000. * 0 indicates no limit on trigger count.
GetTransform Returns the transform of the creative_object with units in cm. You must check creative_object.IsValid before calling this if there is a possibility the object has been disposed or destroyed by gameplay. Otherwise a runtime error will result.
GetTriggerCountRemaining Returns the number of times that this button can still be interacted with before it will be disabled. Will return 0 if GetMaxTriggerCount is unlimited.
MoveTo Moves the creative_object to the specified Position and Rotation over the specified time, in seconds. If an animation is currently playing on the creative_object it will be stopped and put into the AnimationNotSet state.
MoveTo Moves the creative_object to the specified Transform over the specified time, in seconds. If an animation is currently playing on the creative_object it will be stopped and put into the AnimationNotSet state.
MoveTo Moves the creative_device to the specified Transform over the specified time, in seconds. If an animation is currently playing on the creative_device it will be stopped and put into the AnimationNotSet state.
SetGlobalTransform Sets the global transform of this object.
SetInteractionText Sets the text that displays when an agent is close to this button and looks at it. Text is limited to 64 characters.
SetInteractionTime Sets the duration of the interaction required to activate this device (in seconds).
SetMaxTriggerCount Sets the maximum amount of times this button can be interacted with before it will be disabled. * MaxCount must be between 0 and 10000. * 0 indicates no limit on trigger count.
TeleportTo Teleports the creative_object to the specified Position and Rotation.
TeleportTo Teleports the creative_object to the specified location defined by Transform, also applies rotation and scale accordingly.
TeleportTo Teleports the creative_device to the specified location defined by Transform, also applies rotation and scale accordingly.

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 · 103 of 1121
    Prev
    enable
    Next
    disable
    Browse all files in this folder (A–Z)
    Next up
    • | [`creative_object`
    • | [`creative_device_base`
    • | [`Disable`
    • | [`Enable`
    • | [`GetGlobalTransform`
    • | [`GetInteractionTime`
    Related topics
    • Button Device Devices
    • Button Device Devices
    • Conditional Button Device Devices
    • Conditional Button Device Devices
    • Switch Device Devices

    Related

    Open in graph →

    Related topics

    • Button Device
    • Button Device
    • Conditional Button Device
    • Conditional Button Device
    • Switch 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.