VerseIsland
FeedLearnLeaderboardGuidesReferenceExploreSearchDocsVerse Library
Sign in
Feed Learn 📖 Codex Leaderboard Guides Reference Explore Search Docs Verse Library
Browse Fortnite›Devices·Up to Fortnite · Devices·1313 of 1369 in Devices

Vote Option Interface

Represents an individual choice in a poll. For example, in a poll “What to have for lunch?” an option might be “Tacos” Tracks how many times each agent has voted for this option. An option is associated with only one group device (or “poll”) via an internal ID.

Verse using statement using { /Fortnite.com/Devices }

Members

This interface has both data members and functions.

Data

Data Member Name Type Description
CastVoteEvent listenable(payload) Triggered when a vote is cast by ‘agent’
WinVoteEvent listenable(payload) Triggered if this option wins the vote.

Functions

Function Name Description
CastVote Attempts to cast a vote for ‘Agent’ If the voting agent has votes remaining and the voting group has started a vote, the vote will be cast successfully. Fails if Agent does not have votes remaining or voting group has not started.
GetVoteCount Returns the total votes cast for this option.
GetVoteGroup Returns the group device this option corresponds to, if any. Fails if the option is not in a group, or there is no corresponding group device with the same ID.
HasAgentVoted Succeeds if Agent has voted for this option, fails if not.
GetOptionDescription The string to display to the user when choosing which option to select.
Guided course

Add this to your free study plan — we’ll suggest related material and stitch it into one compile-checked lesson.

Keep exploring
More in Devices · 1313 of 1369
Prev
hasagentvoted
Next
castvote
Browse all files in this folder (A–Z)

Source

Epic Games documentation

View original

Last updated 2026-02-10T21:47:13.742280+00:00

VerseIsland· an archipelago of Verse & UEFN knowledge
🗺️ Island atlasLearnGuidesHistoryAbout & PressSources & LicensingPrivacy PolicyTermsStatus

Not affiliated with Epic Games. Fortnite, UEFN, Unreal Engine, and Verse are trademarks of Epic Games, Inc. Content is attributed to its source — see Sources & Licensing.

🦜

Scout · your island guide

The Isle of Verse