Instance Property

isResting

Returns whether the touch is a resting touch.

Declaration

var isResting: Bool { get }

Discussion

Resting touches occur when a user simply rests their thumb on the trackpad device.

See Also

Properties of this touch

var identity: NSCopying & NSObjectProtocol

Use this property to track changes to a particular touch during the touch's life.

var phase: NSTouch.Phase

The current phase of the touch.

struct NSTouch.Phase

The possible phases of a touch. These constants are used by phase.

var normalizedPosition: NSPoint

The normalized position of the touch.