View Single Post
Old 02 October 2017, 21:09   #2
Daedalus
Registered User
 
Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,348
I can't comment on the speed, but the RectsHit command might be what you're looking for:

RectsHit (X1,Y1,Width1,Height1,X2,Y2,Width2,Height2)

Returns true if they overlap.

I love that, in the manual, they actually say "Care should be taken with the pronunciation of this command."
Daedalus is offline  
 
Page generated in 0.04194 seconds with 11 queries