Project 369: Collecting Coins

5. Closer Look at CreateCoin( )

Take a look at the 'CreateCoin' function you just created. 
Starting point file for this challenge

Your goal

Steps

1. How would you change the code?

How could you change the code to make the y-position random like the x and z positions?

If you changed the name of the 'coin' variable to 'collectable', what else would you have to change to make the code work properly?