# Source URL: https://dev.epicgames.com/documentation/en-us/fortnite-creative/using-chair-devices-in-fortnite-creative
# Local doc: epic-docs/documentation/en-us/fortnite-creative/using-chair-devices-in-fortnite-creative.md
# Section: Using a Chair Device in Verse
using { /Fortnite.com/Devices }
using { /UnrealEngine.com/Temporary/Diagnostics }
using { /Verse.org/Simulation }
using { /Verse.org/Random }
# A Verse-authored creative device that can be placed in a level
chair_device_verse_example := class(creative_device):
# Reference to the Chair device in the level.
# In the Details panel for this Verse device,
# set this property to your Chair device.
@editable
MyChairDevice:chair_device = chair_device{}
# Runs when the device is started in a running game
OnBegin<override>()<suspends>:void=
# Example for subscribing to an event on the Creative device.
Verse Library
verse
01 Using A Chair Device In Verse
Handles chair seating, ejection, and random player assignment via event subscription. Use for interactive seating mechanics.
extracted-snippets/documentation/en-us/fortnite-creative/using-chair-devices-in-fortnite-creative/01-using-a-chair-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.