overlayElement

abstract fun Modifier.overlayElement(): Modifier(source)

Enables tracking of the pointer when it enters or exists a Composable. This allows the overlay to decrease the transparency of the overlay even more when the pointer is over an element in the overlay.