I am designing a UI that allows the user to drag and drop a box (red outline) to determine its position on the screen (black box).
UI
It can also be moved by chang