Alpha: this compiler is under active development and updates will break your projects. Not recommended for real use yet.
Skip to content

twine / setDifficulty

Variable: setDifficulty โ€‹

const setDifficulty: (level) => void

Defined in: spool/dist/plugins/difficulty/index.d.ts:27

Sets the pack's difficulty level, in the ambient function.

Parameters โ€‹

level โ€‹

Difficulty

Returns โ€‹

void

Released under the MIT License ยท Credits
These docs were written with AI; the layout and every page have been reviewed by a human.