Ok so I currently have my character mapped to my mouse for movement. It’s a top-down game for simplicity.

The problem is. If I move the mouse really fast, the character can zoom across the screen.

Is there any way I can limit the character’s move speed?

Btw, there’s 4 mice so keep that in mind when looking at the code I’m using.

```
def update(self, task):
if(self.gameEnded == False):
for i in range(self.miceNum):
# if there has been movement then get the movement
if base.pointerWatcherNodes[i+1].hasMouse():
mX = base.pointerWatcherNodes[i+1].getMouseX()
mY = base.pointerWatcherNodes[i+1].getMouseY()
else:
mX = 0
mY = 0
self.movePlayer(i+1, mX, mY)
mX2 = base.win.getPointer(i+1).getX()
mY2 = base.win.getPointer(i+1).getY()
if(i+1 == 1 or i+1 == 3):
if(mX2 < -30):
base.win.movePointer(i+1, -30, mY2)
if(mX2 > 400):
base.win.movePointer(i+1, 400, mY2)
if(mY2 < 90):
base.win.movePointer(i+1, mX2, 90)
if(mY2 > 470):
base.win.movePointer(i+1, mX2, 470)
else:
if(mX2 < 400):
base.win.movePointer(i+1, 400, mY2)
if(mX2 > 830):
base.win.movePointer(i+1, 830, mY2)
if(mY2 < 90):
base.win.movePointer(i+1, mX2, 90)
if(mY2 > 470):
base.win.movePointer(i+1, mX2, 470)
self.mouseX1 = base.win.getPointer(1).getX()
self.mouseY1 = base.win.getPointer(1).getY()
self.mouseX2 = base.win.getPointer(2).getX()
self.mouseY2 = base.win.getPointer(2).getY()
self.mouseX3 = base.win.getPointer(3).getX()
self.mouseY3 = base.win.getPointer(3).getY()
self.mouseX4 = base.win.getPointer(4).getX()
self.mouseY4 = base.win.getPointer(4).getY()
return Task.cont
```