I don't really know how to explain this tween issue but just read its simple

It’s sort of weird to explain but I’ll illustrate with code.

Let’s say I have a tween right? And I’m inserting tweeninfo, now if I don’t care about changing any of the arguments of tweeninfo and just want to change time I can do this and keep the rest after default:

TweenInfo.new(3)

now let’s say I want the boolean reverse to be true, its one of the last parameters so I have to do this to reach it:

TweenInfo.new(3, "pretend these are the other arguments", true)

Now in that code it seems like there’s less parameters but I just did that because I can’t remember the exact syntax and it’s kinda long to type out.

Anyways, my question is. Is there a way I can get to changing one of the arguments like boolean reverse to true? Without having to go through the rest of the arguments to just make one true? I was trying to search on the devforum but couldn’t really word my question.

So let me illustrate a bit more, so instead of doing this:

TweenInfo.new(3, Enum.EasingStyle.Linear, Enum.EasingDirection.Whatever, true)

Can I just do something like this:

TweenInfo.new(true)

I know you can’t actually do that because the first argument requires a number representing time but I think you guys understand what I sorta mean.

Nah you cant really. You cant change the properties with like TweenInfo.Reverses isnt possible cause its only readable. From my knowledge it has to be done in order

I wish roblox would add some sort of feature to allow that one day.

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