Wait For Seconds Isnt Working (again)

if(Input.GetKeyDown(“left ctrl”))
{
anim.SetBool(“Roll”, true);
WaitForSeconds (1);
anim.SetBool(“Roll”, false);
}

It Says That error CS0119: Expression denotes a type', where a variable’, value' or method group’ was expected

You can’t just write “WaitForSeconds” like that, you have to use it like the docs show.

Try changing

if(Input.GetKeyDown("left ctrl"))

to

if(Input.GetKeyDown(KeyCode.LeftControl))