Skip to content
ts
function log(...args: any[]): void;

Logs the arguments to the console area below the scripting window.

Parameters

ParameterTypeDescription
...argsany[]List of objects to log to the console.

Examples

ts
log('Hi there!');
ts
log(`My name is ${player.name}`);
ts
log(`My helmet is`, player.equippedItems.helmet);