Skip to content

pickFiles beta ​

Function of @v12-engine/client/kit

ts
export declare function pickFiles(options?: {
    accept?: string;
    multiple?: boolean;
}): Promise<File[]>;

Asks the player for files of their own, as the browser's file picker does: what they picked, none if they closed it (accept: the kinds, .json,.gz; multiple: more than one)