Hello I was wondering if there is a simple way to have multiple input.

For example: I would like it so that when I hit the w key and the left shift key an animation plays.

function Update () {
if (Input.GetKey(" w + left shift"))
animation.Play("My animation");
}

I know this script is wrong just want to give you an idea of what I would like.

Thanks in advance for any help!

Your logic is good, but your syntax is incorrect :slight_smile:

if (Input.GetKey("w") && Input.GetKey("left shift"))
    animation.Play("My animation");

Or, if you want either key to play the animation use logical OR operator:

if (Input.GetKey("w") || Input.GetKey("left shift"))
    animation.Play("My animation");