# Set Option The `setoption` command is used to set the value of options the engine has exposed to the GUI using the [[option]] command. `setoption` must *not* be sent while the engine is calculating. Each invocation of `setoption` must be it's own [[Commands#Command Strings|command string]]. --- ## Parameters - `name <id>` - The name of the option being set. - `[ value <x> ]` - The value to set the option to. Not necessary if the option being set is a button. ^072426 > [!info] See the [[option]] command for more information on options > [!warning] > \<id\> and \<x\> both *should not* contain the substrings "name" or "value", as this may lead to parsing errors. --- ## Examples - `setoption name Nullmove value true` - Set a checkbox option called "*Nullmove*" to *true* - `setoption name Selectivity value 3` - Set a spin option called "*Selectivity*" to *3*