Image fillAmout Help

Hi, so this is the image compoenent but there is no Image Type dropdown i want to create a radialProgressbar

so i made a script

 void Start()
    {
        imag.type = Image.Type.Filled;
        imag.fillMethod = Image.FillMethod.Radial360;
       // imag.fillOrigin = 360;
       
    }

    // Update is called once per frame
    void Update()
    {
        if (Input.GetKeyDown(KeyCode.S))
        {
            imag.fillAmount += 0.1f;
        }

        if (Input.GetKeyDown(KeyCode.Q))
        {
            imag.fillAmount -= 0.8f;
        }
    }

But it doesnt not work HElp please

I think you need to attach a Sprite to see the image type drop-down. Maybe just use a 1x1 white image?

oh yes this solved it. my bad i didnt attach a sprite Thanks :smile: