‘The Walking Dead’ star Alanna Masterson has hit out at body shamers who’ve been criticising her weight in the show’s most recent episode last weekend.

After watching Sunday night’s episode of the AMC series, which revolved mainly around Masterson’s character Tara Chambler, some viewers took to social media to criticise her appearance, commenting on her weight.

Masterson had begun filming the current seventh season of the show less than half a year after giving birth to her first daughter, Marlowe, who is now nearly one year old and whom she shares with her partner Brick Stowell.

Alanna MastersonAlanna Masterson hit out at people commenting on her weight on Instagram

“Dear Instagram trolls, body shamers, and the men and woman who think it's OK to comment on my weight: I hope that you don't have children,” the 28 year old wrote alongside a cute picture of her daughter on Instagram.

“And if you do, I hope you teach them about kindness and acceptance,” she added. “I hope they learn that it isn't ok to make fun of people or call people names. I hope one day YOU learn what it takes to be a parent. A kind, selfless parent. A working parent. A parent that puts themselves in someone else's shoes.”

More: Blake Lively slams post-baby body shamers

During filming of the end of the previous season, Masterson was visibly expecting and wore loose-fitting shirts to hide her bump because her character was not pregnant. Since giving birth, she’s been up front about bringing her daughter on-set and feeding her.

“Maybe you can't get it through your thick f***ing skull, but nursing a baby for a year (and pumping in a van between takes, in the dead of summer in Georgia) is a lot of work, determination, and scheduling,” she said on Instagram. “So before you decide to make a comment about my chest being 'too large' or how 'fat' I've become, just know that this little girl got the best start to life.

“I wouldn't have changed it for a second. I would've gladly continued to eat enough calories to produce milk for her little bones to grow,” she added. “Also, grow the f*** up. Your mother should be ashamed for raising such a judgmental bully. I'm sure she knows how 'courageous' you must be for trolling and hiding behind your Iphone and computers.”

Signing off, she parted with the following shot: “P.S. I would LOVE to see any man or woman give birth to a baby, nurse the baby, and then work 17 hour days and NAIL their own stunts. P.S.S. Be kind to each other. We need it now more than ever.”

More: Blac Chyna hits back at body shaming internet trolls criticising her maternity style