I recently found out that when you have no boolean variables created, right clicking the ‘eye’ icon on the layer panel won’t show anything. The only way the right click works on this is if you already had any boolean variables created in the ‘local variables’ section. Only then, you see the option to create a new variable directly from here.
This behavior was pretty confusing to me, and I thought something was broken.