Detect if two squares colliding

Hello there! I want to check if two squares that composed of two opposite corner are colliding.

1 Like