Hi,
I’m trying to drag a DP to an area where it needs to snap to a grid of x36, y51. I can partly do it but I’m obviously doing something wrong as its not quite working. See screenshot attached for visual explanation.
I’m using
(if area of This is over DP)
[[ (This.X / 36).toFixed(18) * 36 ]]
[[ (This.Y / 51).toFixed(25.5) * 51 ]]
Using a boundary area. If DP is outside this area it’ll move back to a specific point.
Can anyone help?
Thanks in advance.
Steve