Directory ID of the location where the game files are saved to.


GML Code Example


Returns: String.


This read-only variable will return the full path ID of the directory that is used by your game to save files to. This directory may or may not be visible to other applications, depending on the platform, and on the HTML5 target it will return an empty string.

NOTE: This variable purely for information and should not be used to get a file path or anything else similar, as it will not work correctly across all platforms.


GML Code Example

save_dir = game_save_id;

This will store the directory for saving files to a variable for future use.

No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here