We use cookies on this site to enhance your user experience
Collapse Sidebar


ExportSelection will export all geometry in the current Selection to an .OBJ file. The file is saved to the path chosen by the user in a file save dialogue (the filePath argument is ignored). This function does the same thing as the Export Selection… right-click menu option in the Explorer.


Previously, this function would save the generated .OBJ file to the given file path, so long as Roblox Studio had write access. This was changed for security reasons on Release 379 in April 2019.


Name Type Default Description


Return Type Summary