Task

Get the current location of the mouse cursor relative to the active window.

Please specify if the window may be externally created.




import Graphics.Element exposing (Element, show)
import Mouse
 
 
main : Signal Element
main =
  Signal.map show Mouse.position