I am currently working on a color gradient menu but i need to figure out where to move the box whenever the color is changed via the hex value.
Is there a way to check if a color3 value fits in the UI gradient and what the timestamp would be of that color?
I need to know what the timestamp is of color3.FromRGB(255,146,0) in the UI gradient in this case.
I need to move the black bar depending on what color is currently selected once you open the menu.
I would have to get the distance from the currently selected color on the UIgradient.
So for an example:
color3.FromRGB(255,146,0) would return 0.1
color3.FromRGB(255,255,123) would return 0.423
but those keypoints are not listed on the UIgradient.