Make an entity moving only when not watched by players

Is it possible to make an entity that moves only when nobody watches him ? without making it too demanding in resources

Continue to help post