GetAbsolutePath /File I/O

string GetAbsolutePath(string fileName)

Returns the absolute path of fileName. Example:

string str = GetAbsolutePath("assets/my_resource.file");
print(str);

Output:

C:/MY GAME DIRECTORY/assets/my_resource.file