Possible to check if two tiles with Non-rectangular are overlapping?

I have a game with freeform movement, where sometimes units with circular bases will overlap terrain with freeform shapes. Sometimes units overlap by a tiny margin that can be hard to confirm on screen, but from a rules perspective it’s important to know whether they are overlapping or not.

I’m wondering if I can implement a button/key command/whatever to highlight the affected units/tiles when they overlap? I don’t see an obvious way to do this in the documentation or existing interface.

Thanks!

The only thing that pops up in my mind is the ‘Mouse-over Stack Viewer’ If you turn on
“Show all pieces overlapping the first piece found” mousing-over should show if they overlap. AFAIK that is not a call-able trait, and players would have to manually check.

I had not considered the stack viewer, but I’m not sure it will suit my purposes. I’ll have to experiment because if I recall, I have both of these objects set to “do not stack”.