Reference for print
Print a message to the terminal. This is part of the reference section.
Arc
Buffer
Data
Dialog
Ellipse
Geo Utils
Image
Joystick (future)
Keyboard
Line
Mouse / Touchscreen
Pixel
Rectangle
Renderers
Shape
Sound (future)
Style
System
print
Text
Transform
Purpose
Print a message to the terminal or, if on web, will try to append the message to an element of the sketch's ID plus '-console'.
Snippet
Print hello world message.
sketch.print('Hello World!')
Parameters
- message: The string to print.
Availability
Available for all platforms. In the web editor, this is automatcally set up to print to the in-page console.