Prevent children of UI Elements from moving with their parents during tweening

I have a button that when pressed down, should sink into a drop shadow. Instead, the drop shadow moves down with it. I want the drop shadow to remain where it is instead of moving. any suggestions?

gif: (drop is dark red piece on bottom of main button

What about tweening the child separately in the opposite direction at the same time?

Alternatively you could just not have the drop shadow parented to the button and have it exist as a sibling while giving it a lower display order than the button.

3 Likes

Opposite-direction tweening worked. Thanks

I know that you already found a solution, but i wanted to say 1 way to do it too.
Maybe you can put button to the shadow? Just make button shadow’s child and move button. Maybe it’s good way too!