They temporarily adopted the mesh giraffe for a challenge set by the British Ironwork Centre in Oswestry to collect recyclable bottle tops.
The children were asked to try and fill the giraffe with plastic and metal bottle tops, which they could then use afterwards to create their own work of art.
Vice Principal Sarah Smith said: "We managed to fill the giraffe twice, despite lockdown. We then created a large picture to put in the hall. We chose this picture because it reminds us about plastic waste ending up in the sea.
"Although we no longer have the giraffe, we aim to continue to collect bottle tops now all our children are back in school so that we can create more lovely artwork to decorate the playground."
The British Ironwork Centre created 6 giraffes which have been touring schools around the country.
Councillor Dr Michael Hardacre, the City of Wolverhampton Council's Cabinet Member for Education and Skills, said: "It's hugely important that schools teach our children about the importance of recycling and how each of us has a role to play in protecting our planet, and this is a fun and engaging way to do that.
“It’s great that the children at St Mary's have been able to prove to us all that recycling needn’t be a tall order.”