Help with bitmasks / unique mask per game object
I want to use one shape to mask another for a UI slider. The idea is there is one shape underneath that slides when you drag it, but it is masked by a static shape.
I really don't understand the masking system but I do have it working with the following settings just through trial and error:
Read Mask: 1
Write Mask: 1
Read Mask: 255
Write Mask: 255
The problem is that any slider's mask will reveal the draggable element from adjacent sliders (see attached pic). The vertical slider is revealing the purple draggable element from the horizontal one. Is there a way that I can specify that only a the mask from within the same slider will reveal the draggable element?