# This is a simple Verse script for a moving platform.
# It starts the prop mover when the game begins.
using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
# This is our main script.
# Think of it as the brain of your island.
MovePlatformDevice := class(creative_device):
# We connect this to the Prop Mover device in the UEFN editor.
# Drag your Prop Mover into this slot in the Details panel.
@editable
MovingPlatform : prop_mover_device = prop_mover_device{}
# This function runs when the game starts.
# It is like the "Go" signal for a race.
OnBegin<override>()<suspends> : void =
# Wait for 1 second.
# This gives players time to get ready.
Sleep(1.0)
# Turn the device on.
# This starts the movement!
MovingPlatform.Activate(agent := false)
# Print a message to help you debug.
# Debug means checking for errors.
Print("Platform is moving!")
Verse Library
verse
01 Device
Activates a prop mover platform after a brief loading delay.
verse-library/using-the-prop-mover-device-to-make-things-move/01-device.verse