# setShmVar(id, value)

Sets 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.
* `value:` integer. The value of the shared memory variable.

**Return value**

none

**Notice**

Only available on radios with color display
