yes, give the rectangle in the 2D category a try! and check 2D->Collision for more operations. also tell us about what’s missing when dealing with rectangle and when it feels too complicated.
about the adaptive > and < :
as you know VL distinguishes between a single value (like Boolean) and lots of values (like vectors and spreads)…
so: > and < are defined to output just a single Boolean value. whatever is compared here should output just one single value that is true or false.
when comparing two vectors though, you can’t really tell which is bigger or smaller. you only can tell something about their components. so probably you expected a vector of boolean values (false, true) for x and y, right?
Well this is not available yet, but we are aware of the issue. For now you need to split and rejoin vectors for certain tasks.
We have ideas how to get rid of that verbosity and when the votable feature list is up check for
- “Vector Region” (Do everything inside componentwise for x, y…) and
- “Lifting” (small, ligthweight regions that tightly wrap single nodes, are fast to create and get rid of)