Creating a parallax effect with a GUI?

I’m trying to create a “parallax” effect on a GUI, which can be seen in this video.

I believe I’ve seen something like this before on Twitter, and I’m wondering if it would be possible on Roblox using something like ViewportFrameS?

1 Like

its possible but you need SOOO many tweens to do it

I don’t believe you would really need tweens, I’m thinking of somehow getting the mouses position relative to the frame and moving the object in the viewport?

ViewportFrames would be a requirement, so you’re on the right page. As of writing, there isn’t any way to skew a frame (that I know of) that couldn’t be more easily achieved by using physical parts in a ViewportFrame.

Personally, I would recommend using a single frame to house all the elements rather than a one-to-one element-frame relationship. Grouping everything into one region gives more control over how the elements interact with each other without having to worry about overshooting the edges of the frame on each element.

1 Like