Changing the Transparency property of the cube Transparency can be a value between 0 and 1, where 1 is fully transparent and therefore invisible. Remember that you can see a part's properties if you select it and look at the Properties window.Ī part can be made invisible by changing the Transparency property. Parts have various properties that can be used here. When the platform disappears, it needs to be invisible and users need to fall through it - but you can't just destroy the platform since it needs to reappear later. You'll learn more about passing information to functions in a later course.
The parentheses are for including additional information as needed.
The code for a function goes between the first line and end. The first new line declares the function - it indicates the start of the function and names it as disappear.