Next we will make some collectables to put around your maze. You need AT LEAST 3 things to collect, but you can add as many as you want.
Add this code to each collectable.
You need to add at least 2 more collectables the same way. If you want your collectable to do something extra (like make a portal appear or a monster change somehow) we can do that too. Give it a try and ask if you get stuck.