blockly > Procedures > IProcedureModel > setEnabled
Procedures.IProcedureModel.setEnabled() method
Sets whether this procedure is enabled/disabled. If a procedure is disabled all procedure caller blocks should be disabled as well.
Signature:
setEnabled(enabled: boolean): this;
Parameters
Parameter | Type | Description |
---|---|---|
enabled | boolean |
Returns:
this