Please note, that advanced click events processing is available on Desktop via AWT interop. See **Advanced click events processing** section below.
### Mouse move listeners
Let's create a window and install a pointer move listener on it that changes the background color according to the mouse pointer position:
@ -354,3 +356,64 @@ fun main() = singleWindowApplication {
}
}
```
### Advanced click events processing (only for Desktop-JVM platform)
_NB: Please note, that approach described below is temporary and is to be replaced by Compose API in future!_
It is possible to get additional information about mouse event, like number of clicks or state of other mouse buttons at the click time, via awt event.