How do I add a Viewport Frame with a camera inside with a character model. I know the scripting however there is no shapes or anything that are in the shape of a diamond. I already have a diamond image I just need a the viewport frame to fit in it perfectly. I don’t know if this is a scripting type of thing or a art and design
Pretty sure the current UI elements in Roblox does not support such behavior. Since ClipDescendants does not work on rotated child elements.
Are you not satisfied with a circle image instead?
One thing you can do is rotate a square viewport frame by 45 degrees and then rotate any objects rendered in it by 45 degrees in the opposite direction.
Simple rectangular and circular shapes are not to hard to work with, but as @TortenSkjold said, for anything more complex it gets a bit tricky because rotated objects can’t be clipped by ancestor objects. Maybe there’s a solution for that I’m currently not aware of.