retractAmount()
Set the filament retraction distance to be used by all relevant commands (e.g., travelTo(), travel(), retractTo()).
Once set, it will apply to all moves until changed.
Use push() / pop() to scope a temporary change.
The default retraction can be overriden in setPrinter().
Parameters
| Name | Type | Description |
|---|---|---|
mm | number | Retraction distance in mm. |