RosettaCodeData/Task/Simple-windowed-application/Scratch/simple-windowed-application.scratch
2023-07-01 13:44:08 -04:00

8 lines
370 B
Text

when flag clicked # when program is run
set counter to "0" # initialize counter object to zero
set message to "There have been no clicks"
show variable message # show the message object
when this sprite clicked # when button clicked
hide message # hide the initial message
change counter by 1 # increment the counter object