Rectangle not moving

Here we can see you forgot to use ctrl-t

You really should AND delete one of your show functions too please. Otherwise it really looks you didn’t understand OOP. :wink:
Having two different y variables for two objects doesn’t really reflect what a class is for.

There is a nice tutorial about objects Objects / Processing.org
You should read it

Warm regards,

Chrisir

:wink: