sb.APP ROOT

sb.APP_ROOT

This is a variable that is filled in by the Storyboard Engine to point at the filesystem path for the application's project root directory. This can be used in order to access resources in a project-relative manner. This variable is only applicable for filesystem-based configurations.

Example:
// Print out the application root
print(sb.APP_ROOT);
Was this article helpful?
0 out of 0 found this helpful