✅ Solved: Responsive constraints???

I made a responsive website in Rive. But there’ll be an interaction in the website where I can drag and drop a text anywhere within the frame. If I were to do this normally the text could leave the screen, so I set translation constraint so that the text only moves within the dimensions of the frame.

But I realised that I can’t key constraint x & y values, and that it’s global for the screen, and I can’t change it for different instances. Is there any hack to this?

Thanks in advance!