public bool MouseDown(int x, int y) { if (x >= _xPos && x < _xPos + _width && y >= _yPos && y < _yPos + _height) { if (Active) { pressed = true; } return true; } return false; }