Collapse Sidebar


This function prompts the current Studio user to select one file, which will then be loaded as a File.

See also

  • StudioService/PromptImportFiles, the same function but for loading a list of files instead of a single file


Name Type Default Description

A list of file types that the user is allowed to select. File types are formatted without a period. For example, {“jpg”, “png”} would allow only a JPG or PNG file to be selected. If no filter is provided, the filter is nil and allows the user to select any file type


Return Type Summary

The imported File. Returns nil if no files were selected, or if the selected file was too large (FileSize greater than 100 megabytes)