How would I declare TweenInfo with parameters 2 & 3 set to their default values?
It should be something like this right?
local tweenInfo = TweenInfo.new(
1,
nil,
nil,
0
)
In theory, the first parameter (the time it takes to tween) is 1 second, and the fourth parameter (repeatcount) is 0 times.
and then parameters 2 & 3 are set to their default value, but this doesn’t happen!
These are the default values I’m talking about (right column)
The reason I want to do this is so I can easily pass through the default values for parameters 2 and 3, and then set my own values for parameters after that.