# Source URL: https://dev.epicgames.com/documentation/en-us/fortnite-creative/using-lego-assembly-devices-in-fortnite-creative
# Local doc: epic-docs/documentation/en-us/fortnite-creative/using-lego-assembly-devices-in-fortnite-creative.md
# Section: Using LEGO Assembly Device In Verse
using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/Diagnostics }
# See https://dev.epicgames.com/documentation/en-us/uefn/create-your-own-device-in-verse for how to create a verse device.
# A Verse-authored creative device that can be placed in a level
HideThenBuild := class(creative_device):
# Reference to the props in the level.
# In the Details panel for this Verse device,
# set this property to the props to hide.
@editable
HiddenProps:[]creative_prop = array{}
# Reference to the Assembly device in the level.
# In the Details panel for this Verse device,
# set this property to your Assembly device.
@editable
AssemblyDevice:assembly_device = assembly_device{}
# Reference to a Button device in the level.
# In the Details panel for this Verse device,
# set this property to your Button device.
@editable
AssemblyButton:button_device = button_device{}
# Reference to a Button device in the level.
# In the Details panel for this Verse device,
# set this property to your Button device.
@editable
DisassembleButton:button_device = button_device{}
# Reference to the Sleep function in the code.
Verse Library
verse
01 Using Lego Assembly Device In Verse
Hides props at start, then assembles them when a player interacts with an assembly button.
extracted-snippets/documentation/en-us/fortnite-creative/using-lego-assembly-devices-in-fortnite-creative/01-using-lego-assembly-device-in-verse.verse
Sign in free to read the full source 🌴
This Verse Library file is members-only. Create a free account to view the complete source and download the .verse file.