public bool IsHeldFor(MouseButton button, int frames) { return FramesSinceButtonPressed[(int)button] == frames; }