# Controlp5 - Multiple buttons that use one function

**URL:** https://discourse.processing.org/t/controlp5-multiple-buttons-that-use-one-function/4638
**Category:** Libraries
**Created:** [October 19, 2018, 2:45pm UTC](https://discourse.processing.org/t/controlp5-multiple-buttons-that-use-one-function/4638 "2018-10-19T14:45:01Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![Zac-04](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/zac-04/32/2009_2.png) [@Zac-04](https://discourse.processing.org/u/Zac-04)
#### Post date: [October 19, 2018, 4:02pm UTC](https://discourse.processing.org/t/controlp5-multiple-buttons-that-use-one-function/4638/5 "2018-10-19T16:02:44Z")

</div>

Also not what I mean, but I have an alternative to my problem because I am seeing that what I want isn’t possible: [Controlp5 - Buttons with private functions](https://discourse.processing.org/t/controlp5-buttons-with-private-functions/4641) by using a private function.

---

_[View the full topic](https://discourse.processing.org/t/controlp5-multiple-buttons-that-use-one-function/4638)._
