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

# MTFillLayer.opacity

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

The opacity of the entire fill layer.

Optional number between 0 and 1 inclusive. Defaults to 1.
