Interaction component for frame instead of shape/object

Hi folks, I just wanna ask about the interactive component here. Is there any possibility to have an interactive component for the frame instead of shape or object? I create a loading bar using background to simplify the interface but I can only use a rectangle shape to achieve instead of a frame.

the reason I need to use a frame is to use auto-layout or even using gradient linear on the background but it seems not to work on me.

when I do interactive to a frame width or gradient linear background there only fade transition instead of the growing bar like I do using shape

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.