In this Discussion

ControlP5 DropdownList not working

I'm trying to add a dropdown list to my sketch to be able to change a parameter.
I took the example code for ControlP5's DropdownList and added it to my code as closely as possible. The code runs, but I can't interact with the dropdown list. It doesn't respond to mouse over or clicking.

Answers

hi, use pushMatrix(); before translate inside draw and popMatrix(); at the bottom of the draw function to prevent the controllers to be translated together with your drawing routines. Otherwise the rendering of the controls and the mouse events dont match and cause the behavior you are encountering.