ReferenceFilesystem

makefolder

Creates a folder inside the workspace. Paths remain subject to workspace validation. Use isfolder when repeated runs should reuse an existing folder.

Syntax

makefolder(path: string) -> ()

Also available as

make_folder

Parameters

ParameterTypeDescription
pathstringWorkspace-relative directory.

Description

File operations are confined to the current workspace. Absolute paths and traversal outside it are not accepted. Use a file dialog when the user needs to choose an external file.

Example

if not isfolder("examples") then makefolder("examples") end

These are Game executor contracts. Check build requirements and session lifetimes before using them.