I necro things a bit, but doing checks on application tick is realllllllllly dirty ...
You can instead use
Code:
Game.Current.EventManager.RegisterEvent<TutorialContextChangedEvent>(new Action<TutorialContextChangedEvent>(Your_delegate));
To check when the screen state is changed, for once the tutorial being useful at something.
Then in your delegate do something like this
Code:
public void Your_delegate(TutorialContextChangedEvent eve)
{
if (eve.NewContext != TutorialContexts.MapWindow)
return;
//---Mycode here---//
}
You can detect most of the game interface screen this way, except character screen that do not trigger the event correctly due to a bug.