Advance hitTesting

Ok, it’s easy to test collision between two squares.
But… how do I test the collision if they are rotated?

Thanks for help! :smiley: