Yes works as you described. I was just after something similar to how the clickable areas worked here: https://codepen.io/GreenSock/pen/2a69b04d43e6b492951e512b2e07968b
The idea would be to prevent a player accidentally discovering some hidden elem…
A simple implementation would be to have the doors on the cabinet as a separate sprite to the rest of your cabinet then on a hotspot click move the doors to reveal the inside of the cabinet.