# How to handle multiple senders

**URL:** <https://spout.discourse.group/t/how-to-handle-multiple-senders/284>\
**Category:** Developer\
**Created:** [May 12, 2021, 2:28pm UTC](https://spout.discourse.group/t/how-to-handle-multiple-senders/284 "2021-05-12T14:28:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![andyfilms](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@andyfilms](https://spout.discourse.group/u/andyfilms)\
**Post date:** [May 12, 2021, 2:28pm UTC](https://spout.discourse.group/t/how-to-handle-multiple-senders/284/1 "2021-05-12T14:28:04Z")

</div>

Hi! I’m writing a program that will need to create multiple Spout senders. What is the proper way to handle this?

I’ve seen creating multiple SpoutSender objects, as well as creating one SpoutSender and then calling CreateSender. When would I do one vs the other?

---

<div class="post-metadata">

**Author:** ![spout](https://avatars.discourse-cdn.com/v4/letter/s/ac91a4/32.png) [@spout](https://spout.discourse.group/u/spout)\
**Post date:** [May 13, 2021, 1:44am UTC](https://spout.discourse.group/t/how-to-handle-multiple-senders/284/2 "2021-05-13T01:44:47Z")

</div>

Hi @andyfilms

yes if you are using the Spout SDK functions, you should create a separate object for each sender.

Then each object has it’s own environment and simple things like width and height remain separated. More importantly the shared textures are different.
