# Concat with an object not working

**URL:** <https://discourse.processing.org/t/concat-with-an-object-not-working/20632>\
**Category:** Beginners\
**Created:** [May 8, 2020, 4:18pm UTC](https://discourse.processing.org/t/concat-with-an-object-not-working/20632 "2020-05-08T16:18:03Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Eyetoof](https://avatars.discourse-cdn.com/v4/letter/e/f05b48/32.png) [@Eyetoof](https://discourse.processing.org/u/Eyetoof)\
**Post date:** [May 8, 2020, 4:18pm UTC](https://discourse.processing.org/t/concat-with-an-object-not-working/20632/1 "2020-05-08T16:18:03Z")

</div>

I’ve stripped the issue I am having down to isolate the issue. I figure its just a data type issue and I should maybe switch to ArrayLists but… I wanted to see if anyone had a specific insight.

First off here is what I am trying to do, and it works fine with color(); vars.

![color_works](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/4/42036c0cf85fc0987db963f11edd36dc6abb808b.jpeg)

here is shot of the class define and the main tab where concat is not happy.

 ![HSB_ValFail](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/8/85a5418c73cedc2b10baf06eb79b4a4d59fafe8f.jpeg)

I just checked the documentation and Object is listed as a valid type to use concat with…

thanks in advance for any help.

---

_[View the full topic](https://discourse.processing.org/t/concat-with-an-object-not-working/20632)._
