Help on getting transparent gradient to apply on both frame and children

Hello, i’m working on my game main menu right now for my mobile targeted game. I have a main menu which works by pressing arrows to switch between a selected button (sort of how GTA SA’s mobile main menu works) and i am trying to implement a transparent gradient on the buttons next to the current selected one.

My problem is that I don’t know how to implement this with just the UI by simply using a ui gradient to make only the middle of the frame and it’s children viewable. I have a function in my title screen module to copy gradients and set them to the needed buttons. Problem is, this method is terribly inefficient it would be more better if I could do what is described in the paragraph above.

Does anyone know a good method of achieving this?

Note: this is my first forum post so sorry for any mess ups, I accidentally made the two paragraphs into a code block when trying to indent them lol.

2 Likes