# Understanding devices/script connection

**URL:** <https://forums.unrealengine.com/t/understanding-devices-script-connection/1944246>\
**Category:** Programming & Scripting\
**Tags:** fortnite-creative, unreal-editor-for-fortnite, question, fortnite\
**Created:** [July 20, 2024, 7:06pm UTC](https://forums.unrealengine.com/t/understanding-devices-script-connection/1944246 "2024-07-20T19:06:30Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![im\_a\_lama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/im_a_lama/32/995063_2.png) [@im\_a\_lama](https://forums.unrealengine.com/u/im_a_lama)\
**Post date:** [July 25, 2024, 8:51am UTC](https://forums.unrealengine.com/t/understanding-devices-script-connection/1944246/2 "2024-07-25T08:51:03Z")

</div>

I think you’re looking for this

> [@Guide to Event Subscribing with Additional Parameters (Handler Functions)](https://forums.unrealengine.com/t/guide-to-event-subscribing-with-additional-parameters-handler-functions/793925):
>
> It seems like a common problem creators run into while learning Verse is trying to pass in additional parameters while subscribing events to functions. For example, if you have multiple buttons that you want to print a different color based on a string parameter, you might try subscribing the InteractedWithEvent to a function like PrintColor(Color : string). This would cause an error, because (generally) by default all events can only be subscribed to a function with an agent parameter. The solu…

---

_[View the full topic](https://forums.unrealengine.com/t/understanding-devices-script-connection/1944246)._
