STEP 3: To run a function, we have to call the function by using it's name.

The command that calls the function should NOT be indented because it is separate from the function.

  • Click Run. Notice that the function code is in the editor, but it doesn't run on the stage.
  • Go to . Drag Function Call and drop it in your program, OUTSIDE the function.
  • Change my_function() to park_scene(). Click Run to see your function on the stage.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE