got error "The function window() does not exist" using ControlP5.window() method

oatoat
edited April 2016 in Library Questions

I'm using the latest ControlP5 library (v.2.2.5) in Processing 2.2.1 for an old piece of code.

I got the following error:**The function window() does not exist**

Image 1

However, the same code runs correctly in Processing 2.2.1 using an early version of ControlP5(v.2.0.4). So, may I ask what has been changed for ControlP5.window().isMouseOver() method? and how to fix the code to run it using the latest ControlP5 library in both Processing 2.2.1 and 3.0.2?

Thank you very much!

Answers

Sign In or Register to comment.