The pinch operation by the left hand should be stopped.

Hi, I have a question.

In visionOS, when a user looks at a button and performs a pinch gesture with their index finger and thumb, the button responds. By default, this works with both the left and right hands. However, I want to disable the pinch gesture when performed with the left hand while keeping it functional with the right hand.

I understand that the system settings allow users to configure input for both hands, the left hand only, or the right hand only. However, I would like to control this behavior within the app itself.

Is this possible?

Best regards.

Hello @sadaotokuyama

There is no API that would allow you to distinguish between which hand has interacted with a SwiftUI button, so as to only accept button clicks from a specific chirality (left or right).



One alternative may be to create an Entity in your scene that can be interacted with only the user’s left or right hand. See Tracking and visualizing hand movement for more information.

I highly recommend detailing your use case and submitting a Feedback Request for this feature. Thank you!

The pinch operation by the left hand should be stopped.
 
 
Q