function onHandlesDrag(normal, distance)
.Anchored = true
if handles.Adornee then
local delta = distance - previousDistance
if math.abs(delta) >= handles.Adornee.ResizeIncrement then
local sizeDelta = math.floor(delta / handles.Adornee.ResizeIncrement + 0.5) * handles.Adornee.ResizeIncrement
if handles.Adornee:Resize(normal, sizeDelta) then
previousDistance = distance
end
end
end
end
As you can see i have put .Anchored = true because the first thing i want is the resized part to be Anchored but i dont know which part is being resized or how to find it...
Thanks for the help! :D

1 comment
Assuming you clicked on the part before being able to resize it, just pass the argument through to the onHandlesDrag function