Get Focused Widget?
Theres no way to Get Focused Widget? I just found on widget blueprints the Has Focus node that only works if used with a constant check tick :'(
asked Nov 30 '18 at 08:06 PM in Blueprint Scripting
I think there is no method that will retrieve your focused widget, but if you are the owner of the method that is setting a widget in the viewport, you can always store a reference of the last widget on screen to work later with it.
As soon as you create a widget from Class, store the return value in a local variable, and then add it to the viewport.
I often do this, helps a lot in future developments.
answered Nov 30 '18 at 08:55 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here