How to lock the mouse in a widget?
Is anyone know how to lock the mouse cursor inside a specific widget through blueprint? The only node that seam to be made for that is Lock Mouse but I can't understand how to use it.
asked Nov 06 '17 at 07:39 AM in Blueprint Scripting
By lock mouse you mean to restrict mouse movement within a specific widget? Something like this:
The button flips a boolean value:
The overriden MouseMove keeps the cursor locked within the widget bounds based on the state of the bool set by the button above:
This is exactly what I wanted to do, thank you very much!
answered Nov 07 '17 at 01:36 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here