Need help with object on the hand

I don´t know how to keep my flashlight from getting into walls. Can you help me?
flbad
flgood

Three possible ways, in order of increasing difficulty:

Easiest: make your player’s collider larger, to keep you far enough away from walls

Harder: Hide the flashlight by disabling it when you get close to a wall

Hardest: make a “stow flashlight” animation that plays when you push up against a wall.

Thank you!! I´think i´ll go for the first one because I need for the flashlight to always be pointing at the front!!