unity input.anyKey contain mouse code example Example: unity detect any key if (Input.anyKey) { // Code here }