# Mouse Interaction during stereoscopic rendering

**URL:** <https://forums.unrealengine.com/t/mouse-interaction-during-stereoscopic-rendering/505081>\
**Category:** C++\
**Tags:** SteamVR, unreal-engine, bug-report, slate, UMG\
**Created:** [March 8, 2022, 5:22pm UTC](https://forums.unrealengine.com/t/mouse-interaction-during-stereoscopic-rendering/505081 "2022-03-08T17:22:29Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![RC-1290](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rc-1290/32/261500_2.png) [@RC-1290](https://forums.unrealengine.com/u/RC-1290)\
**Post date:** [November 17, 2023, 12:49pm UTC](https://forums.unrealengine.com/t/mouse-interaction-during-stereoscopic-rendering/505081/8 "2023-11-17T12:49:52Z")

</div>

So… it turns out, it’s even easier, it just wasn’t really documented outside of the source code.  
Console command:  
`Slate.DrawToVRRenderTarget 0`

Calling this will stop slate viewport widgets from showing up in the HMD (world widgets still display just fine). So you can just call AddToViewport, and use widgets as normal.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/1/2/61218becb4b7307d8e294ff56162e0dc851c3a58.png)

You may also want/have to

- Make the window [resizable](https://forums.unrealengine.com/t/resizable-vr-spectator-view/1397212) so that viewport dimensions, and coordinates stay up to date.
- Set ShowMouseCursor to true on the playercontroller

But yeah… much easier than manually copying over Widget RenderTargets to the Spectator screen texture.

---

_[View the full topic](https://forums.unrealengine.com/t/mouse-interaction-during-stereoscopic-rendering/505081)._
