The Developer Hub is now deprecated and information on this page may no longer be accurate. Instead, you should go to our new and improved documentation. You can also learn more about the future of documentation.
Collapse Sidebar




This property is a reference to the Terrain object parented to the Workspace.

An example of Roblox terrain

This property, like Workspace/CurrentCamera, ensures that developers to not inadvertently index a descendant of Workspace named ‘Terrain’ when looking for a game’s Terrain object. Without this property, developers would need to use the Instance/FindFirstChildOfClass function.

workspace.Terrain.WaterColor = Color3.new(0, 1, 0) -- make the water green