Printing in GameMaker Studio 2 (GMS2) permits builders to output textual content, variables, and different information to the console window or a specified file. It’s a worthwhile instrument for debugging, logging data, and sharing information 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 “Hiya, world!” to the console: