Y'all are overcooking it, you don't need any conditionals:
Plus you get to nicely align everything without the auto-formatter ruining it.
Code: (Select All)
RectCollide% = R1.right >= R2.left _andalso _
R1.left <= R2.right _andalso _
R1.bottom >= R2.top _andalso _
R1.top <= R2.bottom