Smoothly Draggable Frame with Tween

How to make a GUI frame smoothly draggable using TweenService?

1 Like

You can’t make it smoothly draggable with tween service. You need to use lerp.

1 Like

Well how do I make it smoothly draggable using lerp?

1 Like

You can use the “Dragify” script in ToolBox. That works with smooth dragging, but be careful, there could be viruses in some.

1 Like
1 Like

wrong, you can do the same with tweenservice, and there are some good use cases (easing styles)

behold



game:GetService("RunService").RenderStepped:Connect(function()
      frame.Position = game:GetService("TweenService"):Create(frame, TweenInfo.new(1, Enum.EasingStyle.Exponential, Enum.EasingDirection.Out), {Position = UDim2.new(Enter the goal here)}):Play()
end)
1 Like

This did not work… can you finish the whole script?

1 Like

So you are not including the fact that tweenservice is jittery? Alright.

1 Like