# Source URL: https://dev.epicgames.com/documentation/en-us/fortnite/using-patchwork-lfo-modulator-devices-in-fortnite-creative
# Local doc: epic-docs/documentation/en-us/fortnite/using-patchwork-lfo-modulator-devices-in-fortnite-creative.md
# Section: Using Low-Frequency Oscillator 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
low_frequency_oscillator_modulator_example := class(creative_device):
@editable
LFOModulator:patchwork_lfo_modulator_device = patchwork_lfo_modulator_device{}
# Runs when the device is started in a running game
OnBegin<override>()<suspends>:void=
Sleep(5.0)
LFOModulator.Disable()
Print("Device Disabled")
Sleep(5.0)
LFOModulator.Enable()
Print("Device Enabled")
Verse Libraryverse
01 Using Low Frequency Oscillator In Verse
Instantiates and controls the LFO Modulator device, toggling it on and off after delays.
extracted-snippets/documentation/en-us/fortnite/using-patchwork-lfo-modulator-devices-in-fortnite-creative/01-using-low-frequency-oscillator-in-verse.verse