wyre davies, bbc news, in the swansea valley. experienced panic attacks. the department for education says it's investing more than 17 million pounds to build on the mental health support in schools. emma glasbey reports. matty has struggled with anxiety in his teenage years. he's 16 year and he's autistic. when he moved to a large secondary school in wakefield, he began having panic attacks. ijust didn't want to go in. just, like, dread almost of going in. yeah. the problem with my school was that it was so big, and the sen area and staff, there was quite a bit of understaffing and it wasn't, there wasn't enough people to help and just too many kids to deal with. in total, matty missed around 18 months of school. his mum saw his mental health gradually deteriorate. having panic attacks, unable to get in the car, unable to go to school, it was really tough for both of us, for all of us, really. because he was desperate to go to school. he really wanted to be in school and he kept saying, "i'lltry again, mum, i'll try really hard.