One Logo Pool Ball
SwiftUI · IOS API REFERENCE

SpatialTapGesture.Value

struct · iOS 16.0+ · SDK 27.1

struct Value

The attributes of a tap gesture.

Members (2)

get · iOS 16.0+

location

TypeScript
get location(): { x: number; y: number }
Swift declaration
var location: CGPoint

The location of the tap gesture's current event.

set · iOS 16.0+

location

TypeScript
set location(value: { x: number; y: number })
Swift declaration
var location: CGPoint

The location of the tap gesture's current event.

Skipped declarations

No declarations were skipped in this snapshot.

All SwiftUI types →