bound AABB queries to script