# Source URL: https://dev.epicgames.com/documentation/en-us/fortnite/using-patchwork-note-sequencer-devices-in-fortnite-creative
# Local doc: epic-docs/documentation/en-us/fortnite/using-patchwork-note-sequencer-devices-in-fortnite-creative.md
# Section: Using Note Sequencer in Verse
using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/Diagnostics }
# A Verse-authored creative device that can be placed in a level
note_sequencer_example := class(creative_device):
@editable
NoteSequencer:patchwork_note_sequencer_device = patchwork_note_sequencer_device{}
# Runs when the device is started in a running game
OnBegin<override>()<suspends>:void=
Sleep(5.0)
NoteSequencer.Disable()
Print("Device Disabled")
Sleep(5.0)
NoteSequencer.Enable()
Print("Device Enabled")
Verse Library
verse
01 Using Note Sequencer In Verse
Controls a patchwork note sequencer device by programmatically enabling and disabling it over time.
extracted-snippets/documentation/en-us/fortnite/using-patchwork-note-sequencer-devices-in-fortnite-creative/01-using-note-sequencer-in-verse.verse