Please help I can’t remember a movie name

Help I can’t remember the name of a movie I watched about 8 years ago (The movie is probably older than 8 years) It is a animated foreign movie about a dad leaving for work. The son chases after him but gets lost. The son then ends up homeless and tries to find his home many years later. When he finds it he discovers that the home has been abandoned after the parents went looking for him. This is all I can remember about the movie

Maybe this one?

“O Menino e o Mundo” (2013)

IMDb:

https://www.imdb.com/title/tt3183630/

Quotes from the below Wikipedia plot:
“One day, Cuca’s father leaves by train to find work,”
“an older Cuca and that the tree is outside his now dilapidated childhood home.”

Wikipedia plot summary:

Sounds a lot like “Lion” (2016) — true story of Indian-born Saroo Brierley who, at age six, was accidentally separated from his family.