# getShmVar(id)

Gets the value of a shared memory variable that can be used for passing data between Lua widgets and other Lua scripts.

@status current Introduced in 2.6

**Parameters**

* `id:` integer between 1 and 16 identifying the shared memory variable.

**Return value**

* `value:` integer. The value of the shared memory variable.

**Notice**

Only available on radios with color display
