# P5.js: How to use a function as an object parameter

**URL:** <https://discourse.processing.org/t/p5-js-how-to-use-a-function-as-an-object-parameter/14753>\
**Category:** Coding Questions\
**Created:** [October 17, 2019, 1:59am UTC](https://discourse.processing.org/t/p5-js-how-to-use-a-function-as-an-object-parameter/14753 "2019-10-17T01:59:11Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Pickle\_Butter](https://avatars.discourse-cdn.com/v4/letter/p/e9a140/32.png) [@Pickle\_Butter](https://discourse.processing.org/u/Pickle_Butter)\
**Post date:** [October 17, 2019, 4:04pm UTC](https://discourse.processing.org/t/p5-js-how-to-use-a-function-as-an-object-parameter/14753/5 "2019-10-17T16:04:44Z")

</div>

Okay, got it. Thank you.

---

_[View the full topic](https://discourse.processing.org/t/p5-js-how-to-use-a-function-as-an-object-parameter/14753)._
