Hi all, sorry for the brain-fart title.

I am tweening a GUI Frame and I was wondering if in the last argument of TweenService:Create() I could change the TextTransparency of a TextLabel which is parented to the Frame I am tweening... For example

local TweenTarget = {}
--example
TweenTarget.Size = UDim2.new(1,0,1,0) --fine, calls a property of the TweenSubject, right?

--but can I do
TweenTarget."ChildsName".TextTransparency = 1 --It doesn't work in this format but is there a way to access the children of the TweenTarget and change their properties within one Tween?

--If not how should I go about making these properties Tween at the same time as the parents properties are tweening?



local Tween = TweenService:Create(TweenSubject, tweeninfo, TweenTarget)

Is there a way to do this or do I have to create two seperate tweens?

Would UIGradient be able to help with this??

Thank you for your help! Please comment if I haven't been clear :)

1 comment

0

You would have to do two seperate tweens.