Roblox Studio Tutorials - June 6, 2022

How to Unanchor on Click




Download – Food Item Script

How To – Unanchor on Click

What’s up everyone welcome to buzzygames, my name is BuzzyGamesBeth and today I’ll be teaching you how to unanchor on click!

  • Anytime I click on this red part, this black part that’s floating in the air will unanchor.
  • I’m gonna rename the part that I want to unanchor to drop and then my red part to button. Inside of our button part, we’re going to go ahead and add a click detector and a script.
  • For our first variable, we have it so that it’s referencing the part that we want to unanchor which is the drop part, and then another variable for our click detector. Now we have a function where any anytime a player clicks on the red button, then our drop part is going to become unanchored and that’s it.