Get a mouseX values in post window

Will you be satisfied with the following way?

(
s.waitForBoot {
	{
		var mouseX, mouseY;
		mouseX = MouseX.kr(1, 10).poll(10, \x);
		mouseY = MouseY.kr(1, 10).poll(10, "\t\t\ty");
	}.play
}
)
1 Like