As a Roblox developer, it is currently impossible to set the transparency of a ViewportFrame’s contents seamlessly, as if they were a single image.
The current solution is to set the transparency of every object in a ViewportFrame, which produces an undesired effect. Here’s an example of it in comparison to what I’d like to achieve:
This would primarily be used for enter, exit, and hover animations as seen here, but there are plenty of other use cases such as:
- Showing an item isn’t unlocked yet by making it transparent
- Focusing attention on a certain selected item by making others transparent
Covering it with a transparent object that’s the same color as the background would not be a viable solution, as ViewportFrames’ backgrounds can be transparent.