missing methods in Playgrounds

I am using Learn to Code 2, and have finished all the exercises through Reach for the Stairs, and all was fine.

When I started the next exercise, Floating Islands, all of the movement methods such as isBlocked, moveForward, etc. have gone away. I can place blocks, stairs and portals as I wish, but that's it.

If I type "if " the suggestions such as isBlocked are not shown.

I've quit and restarted the Playgrounds app, restarted the computer, and ran Onyx and re-started again to no effect.

The previous exercise still runs fine.

What am I missing?
I deleted the Playgrounds app and all its related files found by AppCleaner, but the same issue remains. In fact, none of my previous coding was lost. AppCleaner must have missed a file that I wanted to delete.

I'll try again to make a clean start of using Playgrounds.
I managed to delete every file on my computer that had the word playground in the file name. Then I noticed that there were two playground files on iCloud Drive. I deleted them, and was able to get a fresh start. But I still couldn't move the character.

It turns out, in this exercise, I had to use an instance of character followed by a period, and then all the movement methods showed up again. .isBlocked did not work, but character.isBlocked did. Oh well......

I doubt my discovery will help anyone else, but I felt obliged to share my ineptitude.
missing methods in Playgrounds
 
 
Q