# model.getMix(channel, line)

Get configuration for specified Mix

@status current Introduced in 2.0.0, parameters below `multiplex` added in 2.0.13

## Parameters

* `channel` (unsigned number) channel number (use 0 for CH1)
* `line` (unsigned number) mix number (use 0 for first line(mix))

## Return value

* `nil` requested channel or line does not exist
* `table` mix data:
  * `name` (string) mix line name
  * `source` (number) source index
  * `weight` (number) weight (1024 == 100%) value or GVAR1..9 = 4096..4011, -GVAR1..9 = 4095..4087
  * `offset` (number) offset value or GVAR1..9 = 4096..4011, -GVAR1..9 = 4095..4087
  * `switch` (number) switch index
  * `multiplex` (number) multiplex (0 = ADD, 1 = MULTIPLY, 2 = REPLACE)
  * `curveType` (number) curve type (function, expo, custom curve)
  * `curveValue` (number) curve index
  * `flightModes` (number) bit-mask of active flight modes
  * `carryTrim` (boolean) carry trim
  * `mixWarn` (number) warning (0 = off, 1 = 1 beep, .. 3 = 3 beeps)
  * `delayUp` (number) delay up (time in 1/10 s)
  * `delayDown` (number) delay down
  * `speedUp` (number) speed up
  * `speedDown` (number) speed down


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://luadoc.edgetx.org/2.9/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getmix.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
