def check_handle(self):
        """Check if handle is being changed."""
        x, y = SERVICES_NS.get_mouse_pos()

        ## if mouse cursor is outside widget, return earlier
        if not self.rect.collidepoint(x, y):
            return

        ### if mouse button 1 is pressed, position handle
        ### and update value

        if SERVICES_NS.get_mouse_pressed()[0]:

            self.handle_to_x(x)
            self.update_value()
            self.command()
Check if handle is being changed.
nodezator/our3rdlibs/scale.py