Reputation: 43
So I have a menu / UI widget in Unreal Engine v4.9.2 and I realised that "Remove from Viewport" isn't available anymore? Is there any alternative? I just need the menu to close after clicking the button on the screen.
Any help is great!
Thanks.
Upvotes: 0
Views: 4322
Reputation: 2802
Since Unreal Engine 4.6, you now use RemoveFromParent
which removes the widget from whatever its parent is (e.g. the viewport). This is exposed to blueprint.
The release notes mention in the C++ API changes the following:
RemoveFromViewport is now deprecated, use RemoveFromParent.
Upvotes: 3