this:RegisterForDrag("LeftButton") if ( this.isMoving ) then this:StopMovingOrSizing(); this.isMoving = false; end this:StartMoving(); this.isMoving = true; this:StopMovingOrSizing(); this.isMoving = false;