Download

How to make a UMG widget work ONLY with a given VirtualUserIndex

I’m working on a VR application which works with involves users. Each user has an associated menu and I would like that a player could only interact with the menu it’s been given to.

Each user has a UWidgetInteractionComponent with a different VirtualUserIndex. Is there a way to tell a UMG widget to only handle input events if the UWidgetInteractionComponent that is causing them has a given VirtualUserIndex?