<!--
{
  "documentType" : "article",
  "framework" : "USD",
  "identifier" : "/documentation/USD/tapgesturetrigger",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "TapGestureTrigger"
}
-->

# TapGestureTrigger

A trigger that fires when the user taps.

## Discussion

For an example, see [Trigger animation for a tapped cube](/documentation/USD/preliminary-behavior#Trigger-animation-for-a-tapped-cube).

### Declaration

```other
class Preliminary_Trigger "TapGestureTrigger"
```

## Topics

### Properties

[info:id](/documentation/USD/info-id)

The action’s unique identifier.

[affectedObjects](/documentation/USD/affectedobjects)

A list of prims that respond to the notification.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)