def move_right(self):
p_v = self.x # Previous value
self.x += 90 # Incrementing the value of x axis
if self.x >= 0:
pyautogui.moveTo(self.x, self.y, duration=0.25) # Moving in the left area
print(self.x) # Debugging
else:
self.x = p_v # Going back to the previous value
# Below Function will be responsible for the Moving of the cursor dup (positive y - axis)
评论列表
文章目录