So I want to try and make a Frame or just any GUI object animate in a circular motion but tweens only go in a straight line so idk how I would go with smoothly animating it in a circular motion any solutions?
you can try tweening the Rotation
Well I’m not entirely sure if this would work but maybe try using a for loop to adjust a position offset then use that to tween the frames position on the X and Y.
local dur = 0.1 —Wait for each update
local ogX = frame.Position.X.Scale
local ogY = frame.Position.Y.Scale
task.spawn(function()
for i=0,100 do
frame:TweenPosition(Udim2.new(ogX+i, 0, ogY, 0), Enum.EasingDirection.InOut, Enum.EasingStyle.Linear, 0.1)
task.wait(0.1)
end
end)
There might be errors/typo’s (on mobile rn)