# lcd.drawSwitch(x, y, switch, flags)

Draw a text representation of switch at (x,y)

@status current Introduced in 2.0.0

## Parameters

* `x,y` (positive numbers) starting coordinate
* `switch` (number) number of switch to display, negative number displays negated switch
* `flags` (optional) please see [flags](https://luadoc.edgetx.org/2.10/part_iii_-_opentx_lua_api_reference/constants/flags-and-pattern-constants) constants, only SMLSIZE, BLINK and INVERS.

## Return value

none
