There are two of this, if that’s what i think you’re asking for.
• The Animated way:
In this you “grab” the GuiObject and call a function named TweenSize this function Tween the object with the given arguments, there is other very similar called TweenPosition.
• The Simple way:
As the last step we grab the object, but now we don’t need to call nothing; here we set properties named Enabled or Visible that adjust to our preference.
If you want it to pop out too and draggable, there are tutorials on youtube.
But to make it snap back in place, you could try a “double tap to snap back” type of style. Tap on the UI twice and it teleports back to origin.