---
title: "MTBackgroundLayer.opacity | Mobile sdk | Mobile sdk android | Android"
description: "opacity"
---

# MTBackgroundLayer.opacity

var [opacity](https://docs.maptiler.com/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.map.style.layer.background/-m-t-background-layer/opacity/): [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html)?

The opacity at which the background will be drawn. Optional number between 0 and 1 inclusive. Defaults to 1.
