calculating distance between two elements independent from screen size or resolution | XM Community
Skip to main content

Hello,
I would like to calculate the distance between two draggable elements and compare it between participants. At the moment, the distance is measured in pixels but I need it to be independent from participants' screen size or resolution.
How do I determine the maximum distance and calculate the relative distance?
I would be grateful for any help.

Be the first to reply!

Leave a Reply