How do you tween rotation to a certain position?

I can’t find :TweenRotation() anymore. However, it may be hidden to do it. Any ideas how to?

Based on GUI

1 Like

Can’t you just use TweenService?
i.e

local TweenService = game:GetService"TweenService"
local tween = TweenService:Create(
    Frame,--whatever should be tweened
    TweenInfo.new(1),--how the tween should act
    {
        Rotation = 90--set rotation to whatever it should be
    }
)
tween:Play()
15 Likes

TweenRotation was never a function that existed. You may have been confusing that with a certain feature request from way back in 2015 (won’t link because OP will get pinged about it).

TweenService, as pointed out above, should work for your use case.

2 Likes