Anyone know if u can lose weight while on amitriptyline?

Hi how was your experience with Amitriptyline. Did you gain weight from 10 or 20mg? I took 20mg for 5 months now i reduced i am taking 10mg i gained 5kg i am not sure if itโ€™s from amitriptyline or because of eating.