Panel Execute DAT and opacity

Is there a way for the Panel Execute DAT’s ‘select’ panel value to respect transparency? What I want is that when I click on the solid portion of the image (from a TOP inside a COMP that’s acting as a mask) I get the Panel Execute DAT to trigger, but when the user clicks on the transparent portion, to have it ignore the click.

I have a workaround which is only half working: I grab not just ‘select’ but ‘select u v’ and if it’s a u or v value, I stuff that into a parameter; then when I get the actual ‘select’ I do a sample() on the TOP inside the COMP and if it’s more than 50% transparent I ignore the select. But unfortunately the ‘select’ is received before the ‘u’ or ‘v’, thus the u and v are always one step behind.

There is no way for the panel exec to respect opacity directly. Your method is the way to go. You can, however, check the u and v values when you get the select, no need to stash. panelValue.owner.panel.u will get you the info you want in the panel exec callback. You can always ask op('whatever').panel.u, and if you want the real time value you can get op('whatever').panel.rollu.

To see all the (numeric) panel values available to you, you can watch your button with a panelCHOP.

That’s great to know, I’ll try that out, thanks!