Hi there,
You can set the SkethcViewModel.defaultCreateOptions.mode to freehand or can set the mode when you call create method:
const sketchViewModel = new SketchViewModel({
view: view,
layer: polygonGraphicsLayer,
defaultCreateOptions: {
mode: "freehand"
}
});
Or you can do:
sketchViewModel.create("rectangle", { mode: "freehand" });
Both options should work in your case.