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 useful software for debugging, logging info, and sharing information with different packages.
To print in GMS2, the print() operate is used. This operate 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: