Abstract ClassesFieldblockly.field.setenabledOn this pageHome > blockly > Field > setEnabled Field.setEnabled() method Set whether this field's value can be changed using the editor when the source block is editable. Signature: setEnabled(enabled: boolean): void; Parameters ParameterTypeDescriptionenabledbooleanTrue if enabled. Returns: void