Your Cart

0 Assets

Your cart is empty

Verse13 Sept 2026Free

My first verse snippet

#verselightcontrol#lighttoggle

Shared by AsicsoN2

Verse · 18 lines
1using { /Fortnite.com/Devices }
2using { /Verse.org/Simulation }
3using { /UnrealEngine.com/Temporary/Diagnostics }
4
5snippet_example := class(creative_device):
6
7 @editable
8 ToggleButton<private>: button_device = button_device{}
9
10 @editable
11 LightDevice<private>: customizable_light_device = customizable_light_device{}
12
13
14 OnBegin<override>()<suspends>: void =
15 ToggleButton.InteractedWithEvent.Subscribe(OnButtonInteract)
16
17 OnButtonInteract<private>(Agent: agent): void =
18 LightDevice.Toggle()

Community

★★★★★— · 0 ratings
🪙 How tips and review rewards workExpand

Tips. You can send 1 to 500 credits from your wallet to the creator as a thank-you. Tips appear in the comments with your name and cannot be undone, unless the snippet is later removed for breaking the rules, in which case they are returned to you.

Reviews. A written 20+ character review with 4 or 5 stars earns the creator 5 credits, paid 7 days later if the review still stands. You earn nothing for reviewing, so say what you really think. Reviews count only from established members: a linked Discord account, a purchase in the store, or an account at least 14 days old with 3+ reviews on snippets by 2+ different creators.

Comments

Sign in to join the conversation.

Sign in

Loading…

More Verse Snippets