πControlling the main window from a Multi Window
π Requirements
To have a basic understanding on how this plugin gets used
you followed step 2: Installing This Plugin
you followed step 3: Enabling This Plugin
you followed step 4: Working With The Subystem
β Creating the widget
Locate your content browser (If not visible, press CTRL+Spacebar) and create a widget blueprint. Then select βUser Widgetβ. After that, open the widget blueprint by double-clicking on it.

In the widget, add a canvas panel and a button. Then select the button.

Make the button expand the whole canvas panel by setting the anchors and tweaking these values. You can also make the button invisible by setting the background opacity to 0. Then create an event whenever we click a button.

β Adding the functionality in the widget
Flip Flop a bool on button click

On Event Tick you want to check if the rotation is active and get the mouse position on the platform. Then on Do Once, save the position of the mouse.

Then get a reference to your blueprint. You could call any function of the blueprint from here but I will just add world rotation. Then make sure to set the last position variable again.

π Final Words
Are you enjoying this plugin? Then donβt forget to leave a review to support the creator!
Last updated



