Module

FRP.Behavior.Mouse

Package
purescript-hyrule
Repository
mikesol/purescript-hyrule

#position Source

position :: Mouse -> Behavior (Maybe { x :: Int, y :: Int })

A Behavior which reports the current mouse position, if it is known.

#buttons Source

buttons :: Mouse -> Behavior (Set Int)

A Behavior which reports the mouse buttons which are currently pressed.