[Unsolved] Frame Shows A Tiny Line

, ,

Hello! I’m trying to achieve a UI that does not show a small line on the end of the gradient. I think I know what might have caused this, though I find myself unable to fix this issue.

For visualization:

The reason for this is due to the fact that the Time (position) inside the transparency gradient is set to 0.999. But whenever I try to set the Time property to 1, the gradient goes away.

Thanks in advance!

Edit: Here are some extra images for refference:

Additional Images

Location:

What happens when Time gets set to 1:

1 Like

could you just put another gui over the line with zindex?

2 Likes

I could. But it feels kind of lazy and I hoped for a better solution.

With a better solution I mean something that is better in practice :slight_smile:

Please keep in mind that I might have made some mistakes along the way of creating the gradient, and if you spot any, please tell me! I’m open for any small comments.

If this issue is not possible to fix, or this thread become inactive, then I’ll discontinue this issue and mark the reply from 7Dollar_Bill as the solution.

As 7Dollar_Bill said, you can easily hide the line with a simple gui that is placed on top of it. But I believe that there should be some other solution than this, and that is why I continue this thread. :slight_smile:

I tried this but since the background gui is a bit transparent already, setting another layer on top would simply make it less transparent and make it look a bit weird.

I found the solution 'cause no one else did lol.

So what I did was I messed around with the UIGradient’s position and rotation until I eventually found something that worked. Here is the end result
image

1 Like