Problem with switching visibility between videoplanes through @layer attribute

Connector's icon

Hi!

I have a jitter patch with webcam input and output to two windows. Inside the patch i want to switch the visibility of two jit.gl.videoplanes through the @layer attribute.

switching between videoplanes in windowRight does not work

In my first window "windowLeft" it works fine, but at the second window "windowRight" switching between the videoplanes does not work. Maybe i am missing an some attribute?

wahrnehmungTEST.maxpat
Max Patch

Connector's icon

ok got it to run!