Assets/Scripts/PlayerHealth.cs(20,12): error CS0119: Expression denotes a `type', where a `variable', `value' or `method group' was expected

What’s wrong

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class PlayerHealth : MonoBehaviour {
	public int maxHealth = 100;
	public int curHealth = 100;

	// Use this for initialization
	void Start () {

	}

	// Update is called once per frame
	void Update () {

	}

	void OnGUI() {
		GUI.Box (Rect (10, 10, Screen.width / 2 (maxHealth / curHealth), 20), curHealth + "/" + maxHealth);
	}
}

Good day.

REad what error says,

What hapens with that box? it exists? you ant to assign it to a variable? You are not doing anything in that code, no “orders”… create a new box like that? Then you miss the “new” so Unity understand you want to create a new box

 GUI.Box (new Rect (10 ......

Bye!