Printing in GameMaker Studio 2 (GMS2) permits builders to output textual content, variables, and different knowledge to the console window or a specified file. It’s a useful instrument for debugging, logging info, and sharing knowledge with different applications.
To print in GMS2, the print() perform is used. This perform takes a string as its argument and outputs it to the console window. For instance, the next code prints the string “Whats up, world!” to the console: