Tag Archives: touch

Tips Windows Phone 7/8

Call TouchPanel.GetState() only once per frame

A quick tip: never call TouchPanel.GetState() more than once per frame.

If one touch location state was Pressed or Released, you might not get that state in the same frame on subsequent calls. This may mess up your logic if you have layered screens, each with its own input checking capabilities.