| sidebar_position | 16 |
|---|
Host.Console provides console output for debugging (View > Additional Views > Messages).
Methods:
| Method | Returns | Parameters | Description |
|---|---|---|---|
Host.Console.writeLine(text) |
— | text — string or number |
Write a line to the console |
Host.getPlatform() detects the current platform for path handling and file workflows.
Host.getPlatform() // Returns "win" or "mac"Host.sleep() pauses the current script thread.
Host.sleep(100); // 100ms