firstof on Padobjects

Discuss problems and solutions.
Post Reply
electrofux
Regular
Posts: 294
Joined: 24 Jan 2012 18:22

firstof on Padobjects

Post by electrofux »

Hello,

is firstof(x) working differently on padobjects than on switch objects.
I have 1x16 pad Object and want to use the firstof(x) function to get the pad pressed but it doesnt seem to work.

Code: Select all

padpressed=firstof(x);
MultiSlider.x[padpressed]+=incdec1;
What is weird is that when i slide over all 16 pads the monitor shows the right value for the padpressed but when i press a single one i dont get a value.

Any insights to this?
Post Reply