I want to hide cursor in my application when user is doing nothing, like when you start watching movie on YT, after 10s cursor is hiding and if user is moving mouse or he clicked on keyboard then cursor is showing. I know I should use
Cursor.Hide();
Cursor.Show();
but I don't know what method I should use for wait operation?