# WorldClass.terrainScript

Sets the script used to generate terrain.

**Kind:** Constant

**Environments:** Game

## Game

[Open the full Game reference](../Game-Script-Environment/Classes/WorldClass.md#terrainscript)

Full $-path to the terrain generation script.

**Returns:**

| Type | Description |
| --- | --- |
| string | &mdash; |
