Curve can now detect whether it was selected or not.