# Collab View Template Input Change

**URL:** <https://forums.unrealengine.com/t/collab-view-template-input-change/682184>\
**Category:** Blueprint\
**Tags:** unreal-engine, UE5-0, Multiplayer, Blueprint, question\
**Created:** [November 2, 2022, 5:16am UTC](https://forums.unrealengine.com/t/collab-view-template-input-change/682184 "2022-11-02T05:16:59Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![GreeyaJini](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/greeyajini/32/618627_2.png) [@GreeyaJini](https://forums.unrealengine.com/u/GreeyaJini)\
**Post date:** [November 2, 2022, 5:16am UTC](https://forums.unrealengine.com/t/collab-view-template-input-change/682184/1 "2022-11-02T05:16:59Z")

</div>

Hello there! I am a newbie to unreal engine and its interfaces and I was trying to use the collab view template in the architecture section I want to know “Where is the code by which the widget was showing on the screen” as I press SpceBAr because I want to change it from spacebar to simple always showing widget icon but I am unable t find it but there are lots of blueprints and logics  
And Actually in the unreal doc, it says that it is handled by the interaction menu but I m not able to find it also…

So can you help me to find that Where IS the code/logic by which the widget was showing on the screen???

---

<div class="post-metadata">

**Author:** ![UnrealVerseGuru](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@UnrealVerseGuru](https://forums.unrealengine.com/u/UnrealVerseGuru)\
**Post date:** [November 2, 2022, 11:36am UTC](https://forums.unrealengine.com/t/collab-view-template-input-change/682184/2 "2022-11-02T11:36:47Z")

</div>

o/  
I’ll give you general hints on how to debug any widget from any project !

You can easily ‘get to’ any project widget at runtime (while playing), or engine widget (editor UI widgets directly in editor) with **Widget Reflector**  
just press: **Ctrl Shift W** (in UE5)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/5/f/55f21fe6025f479efbb0345143ba601730d12233.png)  
or from top menu: **Tools → Debug → Widget Reflector** The new window will appear with handy way to inspect any widget which is currently visible on screen.

Then, for interactive widgets click: _Pick Hit-Testable Widgets_  
and click on widget You want to inspect. Hierarchy with highlighted widget being one You’ve clicked will appear. From there You can navigate to source of widget by clicking on it Source column, or check where it lies in hierarchy to further inspect where it could be coming from.  
You can also view widget details, to see them show:  
**Window → Details**

For non interactive widgets click three dots menu and choose:  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/a/0/6a042343c286c22be1be20fd1d13a35809353bd1.png)  
then repeat what I said.

Also usually Widgets are drawn in common places like (for BP projects):

- HUD actor. Check Your WorldSettings. (Window → World Settings).  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/5/7/5572facd0914ee0501f762bdc5690afd13b35a84.png)  
If custom class was specified for HUD in game mode inspect it. Good chance it might be initialised there.
- If no custom HUD class is visible or widget not there, check GameMode itself, PlayerController etc.
- Lastly check Level Blueprint  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/6/a/86ae1f3aea343e34c5300ae07b2bad57e7cff853.png)

Good chance widgets might be in one of these places 🙂

---

<div class="post-metadata">

**Author:** ![GreeyaJini](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/greeyajini/32/618627_2.png) [@GreeyaJini](https://forums.unrealengine.com/u/GreeyaJini)\
**Post date:** [November 3, 2022, 3:06am UTC](https://forums.unrealengine.com/t/collab-view-template-input-change/682184/3 "2022-11-03T03:06:14Z")

</div>

Thanks a lot that helps me very much and I found it out in my Bp\_playercontroller mode thnx again for help

---

<div class="post-metadata">

**Author:** ![GreeyaJini](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/greeyajini/32/618627_2.png) [@GreeyaJini](https://forums.unrealengine.com/u/GreeyaJini)\
**Post date:** [November 3, 2022, 7:01am UTC](https://forums.unrealengine.com/t/collab-view-template-input-change/682184/4 "2022-11-03T07:01:49Z")

</div>

but now that i have found out that I’m having an issue in adding another widget in its interaction menu as I wanna change my wall material and want that option to be shown in that interaction menu  
ANY HELP???

---

<div class="post-metadata">

**Author:** ![UnrealVerseGuru](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@UnrealVerseGuru](https://forums.unrealengine.com/u/UnrealVerseGuru)\
**Post date:** [November 3, 2022, 11:29am UTC](https://forums.unrealengine.com/t/collab-view-template-input-change/682184/5 "2022-11-03T11:29:28Z")

</div>

plz describe what you want to achieve in more details 🙂

---

<div class="post-metadata">

**Author:** ![GreeyaJini](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/greeyajini/32/618627_2.png) [@GreeyaJini](https://forums.unrealengine.com/u/GreeyaJini)\
**Post date:** [November 3, 2022, 11:45am UTC](https://forums.unrealengine.com/t/collab-view-template-input-change/682184/6 "2022-11-03T11:45:41Z")

</div>

Actually I want to add more options in the interaction menu of the collab viewed template

 ![Screenshot_20221103_171328](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/4/0/140a92fb8fea5c5ed793d30a347af2276baa0c75.jpeg)  
right now it shows its own menu option in that but now I wanna add my choice option and remove some like scale but I don’t how ?? cause it is way more complicated for me  
So do you know how to?

---

<div class="post-metadata">

**Author:** ![UnrealVerseGuru](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@UnrealVerseGuru](https://forums.unrealengine.com/u/UnrealVerseGuru)\
**Post date:** [November 3, 2022, 11:48am UTC](https://forums.unrealengine.com/t/collab-view-template-input-change/682184/7 "2022-11-03T11:48:21Z")

</div>

Where did You get CollabView project from ?

---

<div class="post-metadata">

**Author:** ![UnrealVerseGuru](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@UnrealVerseGuru](https://forums.unrealengine.com/u/UnrealVerseGuru)\
**Post date:** [November 3, 2022, 12:29pm UTC](https://forums.unrealengine.com/t/collab-view-template-input-change/682184/8 "2022-11-03T12:29:03Z")

</div>

There is a **Contextual\_Widget** widget blueprint containing `Activate VB` WrapBox widget. It’s children (buttons) get dynamically added at runtime by running `Add Child to Wrap Box` method on it.  
This is done in **BP\_BaseCommandComponent** so each component inheriting from it adds it’s own button widget to it.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/6/6/d66358dc7da41af5cf8584b0fdb6887edd2185de.png)

Now to delete some buttons you can modify those child components not to add buttons.  
To add new custom button you can make your own component and specify a button widget to add, or (if it doesn’t have to be dynamic) just directly add button to WrapBox in **Contextual\_Widget** wrapbox named `Activate VB`

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/7/c/b7cb6c332b5bf1b8a635bd4dbaa68ede0d0c9bac.png)

Then do with that button whatever you want 🙂

---

<div class="post-metadata">

**Author:** ![GreeyaJini](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/greeyajini/32/618627_2.png) [@GreeyaJini](https://forums.unrealengine.com/u/GreeyaJini)\
**Post date:** [November 4, 2022, 3:31am UTC](https://forums.unrealengine.com/t/collab-view-template-input-change/682184/9 "2022-11-04T03:31:19Z")

</div>

thank you so much @UnrealVerseGuru for your reply but can you be more specific as I added my button in it and add some blueprints but it doesn’t show on a contextual menu in the viewport

---

<div class="post-metadata">

**Author:** ![GreeyaJini](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/greeyajini/32/618627_2.png) [@GreeyaJini](https://forums.unrealengine.com/u/GreeyaJini)\
**Post date:** [November 4, 2022, 3:31am UTC](https://forums.unrealengine.com/t/collab-view-template-input-change/682184/10 "2022-11-04T03:31:45Z")

</div>

I have selected from architecture section templates

---

<div class="post-metadata">

**Author:** ![UnrealVerseGuru](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@UnrealVerseGuru](https://forums.unrealengine.com/u/UnrealVerseGuru)\
**Post date:** [November 4, 2022, 7:02am UTC](https://forums.unrealengine.com/t/collab-view-template-input-change/682184/11 "2022-11-04T07:02:30Z")

</div>

Make sure those buttons you add are not cleared out  
they are in **BP\_BasePawn**

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/d/3/ad3bb38d2a0cff0ebcef1d9e0881992b4da1aefd.png)  
so if you add your buttons dynamically - make sure it happens after the clear, re-add them after the clear or remove clearing all together for this particular button you add 🙂

If you do not need to have them exactly in `Activate_VB` WrapBox you might want to add the button to the VerticalBox it resides in (red arrow)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/f/4/bf4bd69b50467b0421f19978c898fe7d6e0d9c60.png)  
This way you won’t have to modify the script dealing with clearing that happens

---

<div class="post-metadata">

**Author:** ![GreeyaJini](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/greeyajini/32/618627_2.png) [@GreeyaJini](https://forums.unrealengine.com/u/GreeyaJini)\
**Post date:** [November 4, 2022, 7:04am UTC](https://forums.unrealengine.com/t/collab-view-template-input-change/682184/12 "2022-11-04T07:04:19Z")

</div>

ok thank you, it is very helpful

---

<div class="post-metadata">

**Author:** ![coreymurray](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@coreymurray](https://forums.unrealengine.com/u/coreymurray)\
**Post date:** [April 26, 2023, 4:40am UTC](https://forums.unrealengine.com/t/collab-view-template-input-change/682184/13 "2023-04-26T04:40:07Z")

</div>

Thanks, this is really helpful info.

How would you go about creating a new, dynamically created button (the same as the others). Or even remove existing ones from the context menu? I can see they get compiled into an array of object references but can’t find how to edit that, or where to look. Sorry - UI newbie.

Cheers

---

<div class="post-metadata">

**Author:** ![Etienneboy0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Etienneboy0](https://forums.unrealengine.com/u/Etienneboy0)\
**Post date:** [January 1, 2024, 9:59pm UTC](https://forums.unrealengine.com/t/collab-view-template-input-change/682184/14 "2024-01-01T21:59:21Z")

</div>

Hi @GreeyaJini,

did you find a way to add a button ‘dynamically’?  
trying to do the same but with no results ☹

this is what i did:

> [@Contextual menu Collab Viewer Template](https://forums.unrealengine.com/t/contextual-menu-collab-viewer-template/1576354):
>
> Hi all, For serveral days i’m trying to add a extra “dynamic” button on the contextual menu in the collab view template. I want to change the sun time through that menu. [afbeelding] After some research i found out that these buttons are created via contextual menu through a Wrap box. The contextual menu is created in the BP\_Base\_pawn blueprint. In the “CollaborativeViewer → Blueprints → Commands” are the blueprints that will make the buttons on the contextua…

---

<div class="post-metadata">

**Author:** ![KINGC00L](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KINGC00L](https://forums.unrealengine.com/u/KINGC00L)\
**Post date:** [July 15, 2024, 1:19pm UTC](https://forums.unrealengine.com/t/collab-view-template-input-change/682184/15 "2024-07-15T13:19:54Z")

</div>

Hey just saw that and had the same problem. Noticed that you have to add the component to the base pawn and or VR Pawn depending on where you want the button to be otherwise it wont be found by the get component by class node and therefor not added.

---

<div class="post-metadata">

**Author:** ![jyp7202](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jyp7202](https://forums.unrealengine.com/u/jyp7202)\
**Post date:** [April 3, 2025, 7:48pm UTC](https://forums.unrealengine.com/t/collab-view-template-input-change/682184/16 "2025-04-03T19:48:33Z")

</div>

I’m hoping someone can finally help with this issue. Seems like a lot of are stuck with this issue? How does one go about removing, or adding the options. In my case, I only need the Bookmark Option. I want to remove all the other options and just remain with the bookmark option. There is no documentation anywhere on how to do this.

---

<div class="post-metadata">

**Author:** ![kaisapais](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kaisapais](https://forums.unrealengine.com/u/kaisapais)\
**Post date:** [April 23, 2025, 1:12pm UTC](https://forums.unrealengine.com/t/collab-view-template-input-change/682184/17 "2025-04-23T13:12:24Z")

</div>

The options can be found from Components of at least BP\_Desktop\_xxx\_Pawns in CollaborativeViewer/Blueprints/Pawn/Default/ folder. You would have to remove them from each separately to affect all modes. And you can add an option also to BP\_BasePawn and it will be visible in all modes.
