> For the complete documentation index, see [llms.txt](https://help.imotions.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.imotions.com/lab/exports/export-keyboard-and-mouse-events.md).

# Export: Keyboard and Mouse Events

Export keyboard and mouse events, such as mouse button down and up, by including user-generated events in the iMotions Lab sensor data export.

To export keyboard and mouse events first select sensor data in Exports

![The Export panel of an analysis with Sensor Data selected](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-b82acfe7b2a784d8d05368182a46f1a85fdc82d6%2Flab_export_built-in-processing_sensor-data.png?alt=media)

Then press the export button at the bottom right:

![Export.JPG](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-a27d7a95defdd611c7a74cac6ca9ea2710280e6d%2F77f2d60627_export-1-.webp?alt=media)

Finally, check the “User generated events” in the Export Sensor box. Click Export at the bottom.

![The File Info page of the sensor data export with User generated events marked](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-3f86bcb4bf9f0b057d0e7328ab4a60e995d9b4a3%2Flab_export_sensor-data_file-info.png?alt=media)

In the data output file look for the column that includes:

![mceclip0.png](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-895e6ae83a27b0b4f681644288143dcca8de051f%2F7173dbf446_crgvuj3dceqxsx0oqi6qvwmceclip0.png?alt=media)

**Comment:**

* If you are interested in Mouse Clicking events, you need to filter for the "button down" and "button up" events, because a click always starts with pressing the left or right mouse key, and ends with releasing it.
* Even if you only wish to export Events, you always need to include at least one signal


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.imotions.com/lab/exports/export-keyboard-and-mouse-events.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
