# How do I use a method from a Processing project in other Processing projects?

**URL:** <https://discourse.processing.org/t/how-do-i-use-a-method-from-a-processing-project-in-other-processing-projects/37926>\
**Category:** Beginners\
**Created:** [July 11, 2022, 7:33pm UTC](https://discourse.processing.org/t/how-do-i-use-a-method-from-a-processing-project-in-other-processing-projects/37926 "2022-07-11T19:33:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Random\_Ghost](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/random_ghost/32/16609_2.png) [@Random\_Ghost](https://discourse.processing.org/u/Random_Ghost)\
**Post date:** [July 11, 2022, 7:33pm UTC](https://discourse.processing.org/t/how-do-i-use-a-method-from-a-processing-project-in-other-processing-projects/37926/1 "2022-07-11T19:33:23Z")

</div>

I have written a method in a processing projects and I’m going to use it in other unrelated projects. Is there a way to use the method without having to copy it every time?

---

<div class="post-metadata">

**Author:** ![mnse](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/mnse/32/16520_2.png) [@mnse](https://discourse.processing.org/u/mnse)\
**Post date:** [July 11, 2022, 8:26pm UTC](https://discourse.processing.org/t/how-do-i-use-a-method-from-a-processing-project-in-other-processing-projects/37926/2 "2022-07-11T20:26:17Z")

</div>

Hi @Random_Ghost,

Guess everything is said about, but here a list of some suggestions … (from easy to hard) 🙂

- copy your function by text
- create a file ie mystuff.pde with your functions and copy the file to every sketchfolder you want.
- create a jar with your functions and drag&drop it to PDE for every sketch you want it to be in
- create a contributed library which you can put in your sketchbook library folder and add via menu add library from PDE
- create a menu extension library which you can use via PDE tools menu (ie. Add my function)
- clone the github processing locally, add your function to the ie core functionality and build your own PDE

Cheers  
— mnse
