prox sensor and get attr val block