i make like this. when drag cancelled ,move widget to mouse position. but i looks like does not get mouse positon. how to get mouse position for set position in viewtarget?
other problem. when i drag widget,widget size is to small. why this?
i make like this. when drag cancelled ,move widget to mouse position. but i looks like does not get mouse positon. how to get mouse position for set position in viewtarget?
other problem. when i drag widget,widget size is to small. why this?
You can get and set mouse position via UE api from c++ but rama already made plugin with nodes allows you to work with some api function “SetMousePosition” and “GetMousePosition”
https://wiki.unrealengine.com/Rama’s_Vertex_Snap_Editor_Plugin#Plugin_Download
For dragging functionality see new UMGInventory twitch tutorials, you can find source on forum.
thanks for comment.
can do only blueprint?