add descendantCount function
only allow valid layer drags