This function only works in the editor. In a published game, it silently does nothing.

console( output )

In the editor, underneath the canvas, is an output area. When this function is called, and has a value passed in, it is outputted to this pane.

This is very useful for logging details from inside your game.

// outputs the numbers 0 to 9 into the console
10.times() do |i|
    console( i )