public void CenterOrigin() { Origin = new Vector3(width / 2, height / 2, 0); } //reset Rectangle to a default state