What it does
TerrainSculpt takes id (a string), x (a float), z (a float) and optionsJson (a string), and answers an integer.
Syntax
TerrainSculpt(id string, x float, z float, optionsJson string) → integerParameters
| Name | Type |
|---|---|
| id | string |
| x | float |
| z | float |
| optionsJson | string |
Every form returns
integer
Example · generated
DO Print(TerrainSculpt("value", 100.0, 100.0, "{}")) Sync()LOOPTerrainSculpt is called and its answer is printed every frame. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.