> For the complete documentation index, see [llms.txt](https://sparkar-community.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sparkar-community.gitbook.io/docs/touchgesturesmodule/tapgesture.md).

# TapGesture

* [![](https://scontent-vie1-1.xx.fbcdn.net/v/t39.2365-6/76870833_509761306273232_5468210970943815680_n.svg?_nc_cat=108&_nc_sid=ad8a9d&_nc_ohc=muIUhTRJkukAX8VE60K&_nc_ht=scontent-vie1-1.xx\&oh=accf70421d0aaafb4ed636f448e51c82\&oe=5ECFAF15)](https://sparkar.facebook.com/)

## TapGesture

The `TapGesture` class contains the details of a detected tap gesture.

### Properties

| Property   | Description                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `location` | <p><code>(get) location: Point2D (set) (Not Available)</code></p><p>Specifies a <a href="https://sparkar.facebook.com/docs/camera-effects/reference/reactive_module/point2d_class"><code>Point2D</code></a> representing the location of the tap, in pixels screen coordinates.</p><p><strong>Note</strong>: The location is always specified in the screen coordinates, even if the event was emitted as a result of tapping on a specific object.</p> |

### Methods

This module exposes no methods.

### Join the Spark AR Creator's community

Find inspiration, see examples, get support, and share your work with a network of creators.

[Join Community](https://www.facebook.com/groups/SparkARcommunity/)

### Join the Spark AR Creator's community

Find inspiration, see examples, get support, and share your work with a network of creators.

[Join Community](https://www.facebook.com/groups/SparkARcommunity/)

### Frequently asked questions

Have a specific question? Maybe it's been answered.

[Read FAQs](https://sparkar.facebook.com/docs/ar-studio/faq)
