Hello, thank you for getting in touch!
You may use an alpha mask in order to hide a specific part of the UI, please refer to the example I've setup through our SimpleUI shader sample below:
I've made use of an additional Texture Sample with a simple mask, which I then multiply to the final result of the node setup.
Please let me know if this helps you achieve the intended effect, thanks!