How do you fade in an image from the side?

I have a loading ImageLabel which I want to make fade in from the left to the right (probably using UIgradient), but how do i do it? I know that i should use TweenService but i’m not sure how to apply it.

Yes, create a UIGradient with a transparency that goes from 0 to 1, set the Offset to (-1, 0), then tween the Offset to (1, 0) when you want to fade it in.

At least I think, let me know if it’s not working as intended.

Works well! Here’s what i did:
local TweenService = game:GetService("TweenService") local Target = script.Parent Target.Offset = Vector2.new(-1, 0) local Info = TweenInfo.new(1, Enum.EasingStyle.Linear, Enum.EasingDirection.In) local Goal = {} Goal.Offset = Vector2.new(1, 0) local Tween = TweenService:Create(Target, Info, Goal) wait(3) Tween:Play()

Thanks!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.