# Source URL: https://dev.epicgames.com/documentation/en-us/uefn/persistent-player-statistics-in-unreal-editor-for-fortnite
# Local doc: epic-docs/documentation/en-us/uefn/persistent-player-statistics-in-unreal-editor-for-fortnite.md
# Section: Testing Persistence with Devices
# Resets the player's score and award them a win or a loss
# depending if their current score is greater than WinScore.
@editable
CheckWinButton:button_device = button_device{}
Verse Library
verse
15 Testing Persistence With Devices
References a UEFN button device component to trigger win condition checks.
extracted-snippets/documentation/en-us/uefn/persistent-player-statistics-in-unreal-editor-for-fortnite/15-testing-persistence-with-devices.verse