Hi
a) In the case >= ios 16
use onTapGesture(count:coordinateSpace:perform:)
b) In the case < ios 16
You can try
TapGesture().sequenced(before: DragGesture(minimumDistance: 0, coordinateSpace: .local).onEnded({ value in
print("Tap \(value.location)")
}))
Or implement based on UIKit UIView