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

How would I do this DragStopped thing?

Asked by 7 years ago

I want to know how i would do like if the player stops dragging the image label when it's on another gui label to trigger an event.

Skills.Skill1.DragStopped:connect(function(X,Y)
    print(("The player stopped dragging the GuiObject at (%i, %i)"):format(X, Y))
    Skills.Skill1.Position = UDim2.new(0.5, -30,0.1, 65)
end)

Answer this question