Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would I make a sliding gui?

Asked by
blowup999 659 Moderation Voter
10 years ago

I've seen games where you put your mouse over a gui and then a bunch of guis slide from the side into your screen. How do you do that?

1 answer

Log in to vote
3
Answered by
jobro13 980 Moderation Voter
10 years ago

There is a really simple function for that which is in the roblox API itself. It's name is TweenPosition. The only argument you need there is the Position where the GUI should "tween" (interpolate) to. You can also add further parameters to edit the style of this animation.

The wiki article has some really clear information on it: http://wiki.roblox.com/index.php?title=TweenPosition_(Method)

Ad

Answer this question