Schools across Scotland are putting in place measures to try to boost attendance in the wake of the pandemic.
Graham Hutton, general secretary of School Leaders Scotland (SLS), said it was vital to encourage youngsters back, and to engage them when they are there, through the curriculum and teaching.
He was speaking after a significant slump in attendance across the country was laid bare in a report last month by the Commission on School Reform.
The Scotsman has today highlighted efforts to reverse the trend at Craigroyston High School in Edinburgh.
Mr Hutton said: "I think there is a growing awareness that the pandemic and the lockdowns had a detrimental effect on young people’s mental health and their attitudes towards school.
"I think a lot of schools are addressing this, and I’d praise Craigroyston because I had heard through the grapevine how they were doing things.
"I think all schools are doing their very best to encourage pupils back into school, and also to ensure that when they are in school, they are engaged.
"That means looking very carefully at the curriculum that’s on offer and how the teaching is done.”