---
tag: m0164
title: Save Mix
brief: Save the current mix as a virtual tool.
author: thinkyhead

group: mixing
requires: MIXING_EXTRUDER, MIXING_VIRTUAL_TOOLS

codes: [ M164 ]
related: [ M163, M165, M166 ]

notes: Requires `MIXING_EXTRUDER` and `MIXING_VIRTUAL_TOOLS`.

parameters:
- tag: S
  optional: false
  description: Tool index (active virtual tool if omitted)
  values:
  - tag: index
    type: int

examples:

- pre: 'Save a 60/40 mix as tool index 5:'
  code:
  - M163 S0 P0.6
  - M163 S1 P0.4
  - M164 S5

- pre: 'Save a 3/5 mix as tool index 4:'
  code:
  - M163 S0 P3
  - M163 S1 P5
  - M164 S4

---
