MCPcopy Create free account
hub / github.com/MaaXYZ/MaaFramework / click

Method click

test/python/binding_test.py:628–631  ·  view source on GitHub ↗
(self, x: int, y: int)

Source from the content-addressed store, hash-verified

626 return numpy.zeros((1080, 1920, 3), dtype=numpy.uint8)
627
628 def click(self, x: int, y: int) -> bool:
629 print(f" on MyController.click: {x}, {y}")
630 self.count += 1
631 return True
632
633 def swipe(self, x1: int, y1: int, x2: int, y2: int, duration: int) -> bool:
634 print(f" on MyController.swipe: {x1}, {y1} -> {x2}, {y2}, {duration}")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected