How would I make a button to reset the score on my app

how do I make a button to reset the score on my app thanks

Where do you keep the score?

In a labal

So you pull in a Button from the Designer, into a nice place.

Rename the Button to btnReset to help remember it later

Change its Text to "Reset" to look nice for users

In the Blocks Editor, pull in a btnReset.Click event
In that event, pull in
set scoreLabel.Text to 0

Thank you

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.