You can shave off a few seconds of finding a widget asset by directly providing “Edit this widget” button to your widgets. Clicking the button opens the asset editor with that given widget:

Firstly, we will create a C++ blueprint function that will open our widget with editor:

The magic is hidden in “WidgetCreatedBy”, which holds a reference to the asset responsible for “generating” our editor widget window.

You need to add modules “UMG”, “UMGEditor”, “EditorScriptingUtilities”, “UnrealEd” so that the code can be compiled.

Secondly, we will call the function on click event of a button:

Photo by Mollie Sivaram on Unsplash

It’s that time of year again when all kind of compilation videos are popping up on YouTube. From best memes of 2020 (https://www.youtube.com/watch?v=FGgtwEQ-BTk), most important news (https://www.youtube.com/watch?v=vGQQbulRUjY) to best movies (https://www.youtube.com/watch?v=JjOTEOLY6-0). What if you could do your own compilation of movies and series you watched?

Pre-requirements:

  • coding skills (or copy-paste…

Filip Sivák

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store