Okay, if you imagine a piano, if one starts at the top of the piano and presses down on a key to play it and then they keep their finger pressed as they move it towards the bottom of the keyboard, the keys are played as they “slide” down the keyboard. I would like to try to create this same effect for a little keyboard I’m making, but I’m stumped. I’ve tried all the normal dragOut methods and what not, to no avail. I couldn’t seem to find anything in regards to this in kirupa’s plethora of help files either. If you have any suggestions on a way to accomplish this in any fashion (hopefully effiecient), it would be much appreciated. Thank you.
i would use an invisible slider underneath the keys that moves whenever you press down the mouse button then use a hit test to check if the key should play.