DOT NOTATION: Time to work with dot notation! Let's take another look at the preview program.
We can use a sprite's variable name to assign actions to a sprite. This is called dot notation.
- Find lines 22 and 24. We want the player sprite to speak and move!
- Change anna to jack on both line 22 and 24 in order to assign those commands to jack using dot notation.
- Click Run to see your changes, then Submit and Next to move on.
To navigate the page using the TAB key, first press ESC to exit the code editor.