Does UI Toolkit support special button interaction?

I want to have interactions only where there are pixels.

6261058--690763--upload_2020-8-31_10-39-30.png

Hi YinZuoyu,

To control the interactions of an element you can override the “ContainsPoint” method. However, you will need to do all the calculations to determine if the coordinates are over a pixel or not.

Thanks.