# Processing and leapmotion

**URL:** https://discourse.processing.org/t/processing-and-leapmotion/36643
**Category:** Libraries
**Created:** [April 28, 2022, 11:30pm UTC](https://discourse.processing.org/t/processing-and-leapmotion/36643 "2022-04-28T23:30:37Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Parinaz](https://avatars.discourse-cdn.com/v4/letter/p/e19adc/32.png) [@Parinaz](https://discourse.processing.org/u/Parinaz)
#### Post date: [April 28, 2022, 11:30pm UTC](https://discourse.processing.org/t/processing-and-leapmotion/36643/1 "2022-04-28T23:30:37Z")

</div>

Dear

I want to attach leap motion to my code and replace the function of mouse with the leap ,however I couldn’t.May I kindly ask you to help me  
This is my code without leap motion:

google drive link :  
[my problem through leap motion](https://drive.google.com/file/d/1qPTvlGSBFUR_RKTw8WwbfXfRuPLFR9ud/view?usp=sharing)

> **[cosmos.zip](https://drive.google.com/file/d/1qPTvlGSBFUR_RKTw8WwbfXfRuPLFR9ud/view?usp=sharing)**
>
> Google Drive file.
