Moving Expense Deduction in MA

Hello,

I heard that MA still allows a moving tax deduction.

In my case, I moved to Texas from Massachusetts for new job in 2020.

Is this deduction available in case someone moved out from MA? or Is this deduction only available in case someone moved in MA?

Could I put the relocation cost in [MA Amount]? or should I put 0 as I moved out from MA?

 

moving.png

 

Thank you very much in advance.