I saw this movie about years ago but I’m pretty sure this is an old movie. What I remember was there’s a mansion that has ghosts from different era who died in the mansion. They kinda live in the mansion together and other scene was ghosts finding new mansion to live in. The heroine is a boy who is a ghost.
“Moondial” (1988 TV mini-series)?
A shorter ‘movie edit’ was released on video in the ’90s.
Casper?
The Scream Team?
https://en.wikipedia.org/wiki/The_Scream_Team