std.filesystem.AssetsDir - nitrologic/monkey2 GitHub Wiki

std::std.filesystem.AssetsDir

Function AssetsDir:monkey:monkey.types.String( )

Gets the filesystem directory of the app's assets directory.

Note that only the desktop and web targets have an assets directory. Other targets will return an empty string.