This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.
first, add a global number variable
next, add a sprite font
and then, add an event, add a condition, and then add an action, choose the sprite font, put "set text", and write the name of the variable (that should work)