We are about to switch to a new forum software. Until then we have removed the registration on this forum.
when executing a saveFrame command on a graphics-type application, the Controlp5 sliders I've set up get saved in the png image file. I can't seem to get the sliders to disappear on a keyPressed() function - ie. i want to press the 'x' key to have the sliders turn invisible - yet the line of code I'm using
works in the draw() function (outside of the keyPressed() routine so I know the command works - it just doesn't work where it should). Code pasting worked and is shown below - hoping for anyone that has tried the same thing to please wise me up to what needs to happen. Thank you in advance.
btw - the keyPressed routine that I'm needing to run the above hide command works fine for the saveFrame command so I know that's programmed correctly.