Remixed to answer question from forum topic https://scratch.mit.edu/discuss/topic/900400/
I added a block to switch to the hitbox before the code section that adjusts Y to not touch the ground. I added a 'left/right' hit box to avoid having the cat climb up the wall when he walks up to it.