class library: SynthDef - lazy implementation of removeUGen
[supercollider.git] / HelpSource / Classes / MouseButton.schelp
blob47269f7e9575b3810ed7b2ed827f2493809a1328
1 class:: MouseButton
2 summary:: Mouse button UGen.
3 related:: Classes/KeyState, Classes/MouseX, Classes/MouseY
4 categories::  UGens>User interaction
7 Description::
9 Mouse button UGen.
12 classmethods::
14 method::kr
16 argument::minval
18 Value when the button is not pressed.
21 argument::maxval
23 Value when the button is pressed.
26 argument::lag
28 Lag factor.
31 Examples::
33 code::
35 { SinOsc.ar(MouseButton.kr(400, 440, 0.1), 0, 0.1) }.play;
36 { SinOsc.ar(MouseButton.kr(400, 740, 2), 0, 0.1) }.play;