I found an older topic about a draggable button (
)
I've forked the codepen so I could start modifying it to my current needs.
The proposed solution was ideal to fit my needs. I only wonder how (and if) it is possible to get the current position of the button.
It will allow users to drag the house so they can position it according it to the direction their own house is situated. I then need the orientation to do some calculations.
Is this possible?