measure cursor