# Example hint syntax (do not copy-paste blindly, understand it!)
using { /Verse.org/Simulation }
# Inside your OnBegin() function, replace the single Enable() call with:
var Count : int = 0
loop:
if (Count >= 10): # Stop after 10 blinks
break
MyLight.Enable()
Sleep(0.5) # Wait half a second; Sleep() is the real Verse pause function
MyLight.Disable()
Sleep(0.5)
set Count += 1
Verse Library
verse
02 Fragment
Loops ten times to toggle a light on and off with a half-second pause each cycle.
verse-library/how-to-use-verse-api-module-declarations-in-verse-uefn/02-fragment.verse