Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 2896

ControlP5 changing image button to the clicked image without actually clicking it.

$
0
0

I have an image button of a piano key, and I have it set to where if it is not clicked, it is white, if it is hovered over it is light grey, and if it is pressed it is medium grey. I would also like to have it change to the medium grey color if a specific key on the keyboard is pressed. How would I do this?


Viewing all articles
Browse latest Browse all 2896

Trending Articles