# Multiple players accesing a variable globally defined widget

**URL:** <https://forums.unrealengine.com/t/multiple-players-accesing-a-variable-globally-defined-widget/1139368>\
**Category:** Programming & Scripting\
**Tags:** fortnite-creative, unreal-editor-for-fortnite, question, fortnite\
**Created:** [April 24, 2023, 2:46pm UTC](https://forums.unrealengine.com/t/multiple-players-accesing-a-variable-globally-defined-widget/1139368 "2023-04-24T14:46:36Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![LionUnchained](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lionunchained/32/1039015_2.png) [@LionUnchained](https://forums.unrealengine.com/u/LionUnchained)\
**Post date:** [May 11, 2023, 9:15am UTC](https://forums.unrealengine.com/t/multiple-players-accesing-a-variable-globally-defined-widget/1139368/4 "2023-05-11T09:15:27Z")

</div>

I’m pretty sure that’s what private does. Once its called from playerUI it can no longer be accessed anywhere else.

What if you made multiple versions of the timer?  
I don’t know how this would work in code but in devices my thought is you set a timer, that then triggers a relay to push out a start event to an array of timers so that there is 1 timer per player in the game.

To do it in code I think you may want to look into passing additional information by wrapping a subscribe function.  
[https://forums.unrealengine.com/t/guide-to-event-subscribing-with-additional-parameters-handler-functions/793925](https://forums.unrealengine.com/t/guide-to-event-subscribing-with-additional-parameters-handler-functions/793925)

If you figure this out I’d be very curious to know how

---

_[View the full topic](https://forums.unrealengine.com/t/multiple-players-accesing-a-variable-globally-defined-widget/1139368)._
