def __init__ ( self , pos , cell , motion , cellmotion ) : self . pos = pos self . cell = cell """(x, y) position of the mouse snapped to a cell on the root console.
        type: (int, int)""" self . motion = motion """(x, y) motion of the mouse on the screen.
        type: (int, int)""" self . cellmotion = cellmotion """(x, y) mostion of the mouse moving over cells on the root console.
        type: (int, int)"""
how to make something follow the mouse python
( x y ) position of the mouse on the screen . type : ( int int )
def __init__(self, pos, cell, motion, cellmotion):
        self.pos = pos
        """(x, y) position of the mouse on the screen.
        type: (int, int)"""
        self.cell = cell
        """(x, y) position of the mouse snapped to a cell on the root console.
        type: (int, int)"""
        self.motion = motion
        """(x, y) motion of the mouse on the screen.
        type: (int, int)"""
        self.cellmotion = cellmotion
        """(x, y) mostion of the mouse moving over cells on the root console.
        type: (int, int)"""