UI drag and drop

i’m asking for a way to drag and drop ui while on play mode
just like in MMO games when you drag and drop a skill from skill menu to a skill holder

he had some issues with the timescale but the script he was using for drag and drop was working fine https://answers.unity.com/questions/1645269/weird-timetimescale-behavior.html?childToView=1646057#answer-1646057

take into account you will need the canvas in world space or change raycast to screen space too