# Way to intercept all “display to viewport” commands?

**URL:** <https://forums.unrealengine.com/t/way-to-intercept-all-display-to-viewport-commands/227628>\
**Category:** XR Development\
**Tags:** unreal-engine\
**Created:** [May 3, 2021, 3:46pm UTC](https://forums.unrealengine.com/t/way-to-intercept-all-display-to-viewport-commands/227628 "2021-05-03T15:46:27Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![JaredTherriault](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jaredtherriault/32/1194499_2.png) [@JaredTherriault](https://forums.unrealengine.com/u/JaredTherriault)\
**Post date:** [May 3, 2021, 4:02pm UTC](https://forums.unrealengine.com/t/way-to-intercept-all-display-to-viewport-commands/227628/2 "2021-05-03T16:02:00Z")

</div>

Sadly the only method I know of is to make a function library function that determines whether or not you’re in VR and adds the widget to the right place, but if you already have a whole bunch of “Add To Viewport” nodes out there this will require a lot of manual work. But at least with this method you won’t have to implement it over and over 🙂

* * *

[iTween](https://forums.unrealengine.com/t/open-beta-procedural-on-the-fly-animation-in-ue4-itween/10472) : Free, smooth, procedural object animation  
[easyCSV](https://www.unrealengine.com/marketplace/en-US/product/b25b855096e74d088d7553ccbe4072f2) : Read data from any CSV and put them in an easy-to-access string map!  
[Runtime DataTable](https://www.unrealengine.com/marketplace/en-US/product/4c7c4f8d523f4c90b2e26d23502c526c) : Import and export game data to and from CSV or Google Sheets while your game is running!

---

_[View the full topic](https://forums.unrealengine.com/t/way-to-intercept-all-display-to-viewport-commands/227628)._
