VerseIsland
FeedLearnLeaderboardGuidesReferenceExploreSearchDocsVerse Library
Sign in
Feed Learn 📖 Codex Leaderboard Guides Reference Explore Search Docs Verse Library
Browse Fortnite›Devices·Up to Fortnite · Devices·724 of 1369 in Devices

Lock Device

Used to customize the state and accessibility of doors. lock_device only works with assets that have a door attached.

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 functions, but no data members.

Functions

Function Name Description
Close Closes the door. Agent is the instigator of the action.
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.
Lock Locks the door. Agent is the instigator of the action.
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.
Open Opens the door. Agent is the instigator of the action.
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.
ToggleLocked Toggles between Lock and Unlock. Agent is the instigator of the action.
ToggleOpened Toggles between Open and Close. Agent is the instigator of the action.
Unlock Unlocks the door. Agent is the instigator of the action.
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 · 724 of 1369
Prev
enable
Next
close
Browse all files in this folder (A–Z)

Source

Epic Games documentation

View original

Last updated 2026-02-10T21:15:18.228808+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