Mouse Position doesnt update while pressing a button

MoveVirtualWidget

I’ve tried to resolve the issue myself and found the following solution:

  1. Create a separate blueprint actor to find the virtual mouse position:

image

  1. Add the following function to the actor:

  1. Organize your widget blueprint like this: