# Bitmap.toMask(bitmap)

Return a 8bit bitmap mask that can be used with lcd.drawBitmapPattern()

@status current Introduced in 2.8.0

**Parameters**

* `bitmap` (pointer) point to a bitmap previously opened with Bitmap.open()

**Return value**

* `a` bitmap mask

**Notice**

Only available on Horus
