Method Click
- Namespace
- MaaFramework.Binding
- Assembly
- MaaFramework.Binding.Native.dll
Click(int, int, int, int)
Clicks a point.
For adb controller, contact means finger id (0 for first finger, 1 for second finger, etc.).
For win32 controller, contact means mouse button id (0 for left, 1 for right, 2 for middle).
public MaaJob Click(int x, int y, int contact = 0, int pressure = 1)Parameters
xint-
The horizontal coordinate of the point.
yint-
The vertical coordinate of the point.
contactint-
The contact id.
pressureint-
The pressure.
Returns
- MaaJob
-
A click MaaFramework.Binding.MaaJob.
Remarks
Wrapper of MaaFramework.Binding.Interop.Native.MaaController.MaaControllerPostClickV2(System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32).