# Source URL: https://dev.epicgames.com/documentation/en-us/fortnite-creative/using-input-trigger-devices-in-fortnite-creative
# Local doc: epic-docs/documentation/en-us/fortnite-creative/using-input-trigger-devices-in-fortnite-creative.md
# Section: Using the Input Trigger Device in Verse
using { /Fortnite.com/Devices }
using { /UnrealEngine.com/Temporary/Diagnostics }
using { /Verse.org/Simulation }
# A Verse-authored creative device that can be placed in a level
input_trigger_device_verse_example := class(creative_device):
# Reference to the Input Trigger device in the level.
# In the Details panel for this Verse device,
# set this property to your Input Trigger device.
@editable
MyInputTriggerDevice:input_trigger_device = input_trigger_device{}
# Reference to a VFX Spawner device in the level.
# In the Details panel for this Verse device,
# set this property to your VFX Spawner device.
@editable
Verse Library
verse
01 Using The Input Trigger Device In Verse
Subscribes to input trigger press and release events to control gameplay elements like VFX.
extracted-snippets/documentation/en-us/fortnite-creative/using-input-trigger-devices-in-fortnite-creative/01-using-the-input-trigger-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.