if (Input.GetKeyDown(KeyCode.LeftShift)) + R ?

Hello trying to get a window pop up if i press Shift + R cant find out how tho

Anyone mind ponting me in the right direction ?

Cheers

Don’t use GetKeyDown for shift, since that only returns true for the single frame when you press it down. Use GetKey instead (you can still use GetKeyDown for the R key).

–Eric

if(Input.GetKey(KeyCode.LeftShift) Input.GetKeyDown(KeyCode.R))
{
// do something
}

Awesome thank you so much :slight_smile:

Look simple now that i see it but im still learning so i guess its okey :slight_smile: