VerseIsland
FeedLearnLeaderboardGuidesReferenceExploreSearchDocsVerse Library
Sign in
Feed Learn 📖 Codex Leaderboard Guides Reference Explore Search Docs Verse Library
Browse Verse API›Devices·Up to Verse API · Devices·104 of 1124 in Devices

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.
Guided course

Add this to your free study plan — we’ll suggest related material and stitch it into one compile-checked lesson.

Keep exploring
More in Devices · 104 of 1124
Prev
enable
Next
disable
Browse all files in this folder (A–Z)

Source

Epic Games documentation

View original

Last updated 2026-05-14T04:50:44.989896+00:00

VerseIsland· an archipelago of Verse & UEFN knowledge
🗺️ Island atlasLearnGuidesHistoryAbout & PressSources & LicensingPrivacy PolicyTermsStatus

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