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

How do I make It so when I click an object it un anchors?

Asked by 2 years ago

I have the click detectors set up I just need to figure out how to unanchor it when I click it

0
What does your Explorer tree look like? I'm assuming your click detector is a child of the part, as well as the script handling the click? WillieTehWierdo200 966 — 2y

1 answer

Log in to vote
0
Answered by 2 years ago
Edited 1 year ago

I fixed the script I last posted. Put the script inside the ClickDetector to make it work

script.Parent.MouseClick:Connect(function()
    script.Parent.Parent.Anchored = false
end)
Ad

Answer this question