I'm attempting to utilize the updated top and left positions of a child div within a rotated parent in order to restrict the draggable area of the parent itself. I am implementing jquery draggable for this purpose.
EDIT: You can find the
<a href="https://jsfiddle.net/2pftt16a/" rel="nofollow noreferrer">jsfiddle here</a>
. My plan is to utilize the red dot on the rotated div as a marker to determine if it collides with the boundaries of the container. I need to extract the new position (top and left) of that red marker so that I can use my existing function to constrain the draggable element.