Same as maskTiles, but return coords instead of tiles.
map coordinate on which to align the top-left corner of the mask.
a rectangular array of true/false values indicating which tiles to take. each true value takes the tile at that grid coordinate. the mask should be in row major order (indexed as maskrowcol).
See Implementation
Same as maskTiles, but return coords instead of tiles.