Variable $CLIENTConst

$CLIENT: boolean

A special macro that will make a block of code client-only, stripping it from server code.

Can only be used within an if statement - e.g.

if ($CLIENT) {
print("I only print on the client!");
}

To mark a whole method as client-only, see Client.