How to keep a dragging widget completely in viewport?
Hi there, i ran into a cosmetic problem i can not solve for days now.
My drag and drop system is working properly but during my drag operation the most part of the widget can be dragged outside of the viewport. I already tried locking my mouse in the player controller and it worked like intended but the mouse can still dissappear on the right and bottom side. So does the dragged widget.
So how can i really lock the mouse (or in my case the whole widget) to the viewport? I would really like to keep it always in viewport on all sides.
I thought of making a custom but empty mouse cursor widget in the size of the dragged widget. But it is a kind of a fake solution imo. While i try this i would really like to know if this approach is a good one or if i missed any setting making this possible?
Just an additional info: i use a empty widget as "dropzone" that handles the ondrop function
Thanks for reading
asked May 29 '18 at 06:32 PM in Blueprint Scripting
Follow this question
Once you sign in you will be able to subscribe for any updates here