How to use State Event?

Thank you so much.