# This is a simplified representation of how Verse reads your level setup.
# We don't run this yet, but it shows why your Tags matter.
# Verse looks for all devices with the tag "PickupZone"
pickup_zones := World.Get_Objects_With_Tag("PickupZone")
# It then picks one at random to spawn the next pizza
next_pickup := pickup_zones[Random.Int(0, pickup_zones.Count)]
# Verse checks the Item Spawner inside that zone to spawn the pizza
next_pickup.Spawn_Item()
Verse Library
verse
01 Fragment
Randomly selects a tagged zone and spawns an item at that location for a time trial pickup mechanic.
verse-library/pizza-pursuit-1-setting-up-the-level-for-time-trial-in-verse/01-fragment.verse