As long as the line is green, and your in the red hitbox then you oof. Basically how Node Entities work in-game
also, pande has an infinite hitbox around himself. the only thing that stops you from dying to him through walls is that is requires the same condition as Angler/most Node Entities.