// Update is called once per frame void Update() { highlightOverlay.SetActive(playerIsHere && catIsHere); if (playerIsHere && catIsHere && Input.GetKeyDown(feedCatKey)) { // Feed the cat _cat.Feed(); } }