unity get key hold -site:pinterest.* code example Example: get key unity if(Input.GetKey(KeyCode.Space)) { //do somthing }