STEP 14: Now let's display our total on the stage.

We will now use a new tool to display total_roll. Variable display allows us to see the value of a variable without needing to have a sprite say it.

  • From , drag out Variable Display to the bottom of your program.
  • Change the variable argument from my_var to total_roll.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)