MouseY:
Filter:
Classes | UGens > User interaction

MouseY : MouseX : UGen : AbstractFunction : Object

Cursor tracking UGen.
Source: MacUGens.sc

Description

Cursor tracking UGen.

WARNING: This UGen will not work for Linux users using Wayland, as the Wayland protocol does not allow a global keyboard or mouse state to be captured. The UGen will return a constant random value between 0.0 and 1.0. For more information see https://github.com/supercollider/supercollider/issues/4544

Class Methods

MouseY.kr(minval: 0, maxval: 1, warp: 0, lag: 0.2)

From superclass: MouseX

Arguments:

minval

Value corresponding to the bottom edge of the screen.

maxval

Value corresponding to the top edge of the screen.

warp

Mapping curve. 0 is linear, 1 is exponential (e. g. for freq or times). Alternatively you can specify: 'linear' or 'exponential'.

lag

Lag factor to dezipper cursor movement.

Inherited class methods

Instance Methods

Inherited instance methods

Examples