Skip to content

ObsidianTouchEventRegisterCallback.finish method

ObsidianTouchEventRegisterCallback › finish

Unofficial

Complete the touch gesture with the final coordinates and velocity.

Signature:

finish(x: number, y: number, z: number): void

Parameters:

ParameterTypeDescription
xnumberThe final X coordinate.
ynumberThe final Y coordinate.
znumberThe velocity of the gesture.

Returns: void