Fans of 2017’s “A Dog’s Purpose” may be anxious to catch the quest-based adventure “A Dog’s Way Home” (Columbia). Both movies are based on novels by W. Bruce Cameron (who co-wrote the current screenplay with his wife, Cathryn Michon), and canine cuteness abounds in both.

Yet, though billed as a family film, director Charles Martin Smith’s adaptation features various elements that make it unsuitable for youngsters. They include not only frightening scenes but an interlude quietly advancing the relentless Hollywood drive to mainstream homosexuality.

Bryce Dallas Howard provides the voice of the titular pooch who serves as the story’s narrator. Raised in a little community of stray cats and dogs living under an abandoned building in Denver, the pitbull-mix puppy spontaneously decides that affectionate medical student Lucas (Jonah Hauer-King), who periodically leaves food for the felines, is the human for her. So she jumps into his arms and is promptly adopted.

Bella, as Lucas dubs her, settles down into a happy domesticated life, winning the hearts both of Lucas’ psychologically scarred veteran mom, Terri (Ashley Judd) — a victim of post-traumatic stress disorder — and of Olivia (Alexandra Shipp), the girl Lucas would like to make his own. Bella also becomes a much-loved fixture at the Veterans Administration hospital where Lucas volunteers.

But Lucas has run afoul of coldhearted real estate developer Gunter (Brian Markinson), whose effort to knock down the structure under which Bella was reared Lucas has successfully thwarted, insisting that all Bella’s old pals be given a home before the demolition commences. The fact that local animal control officer Chuck (John Cassini) has it in for Bella is, we eventually learn, no coincidence.

Vulnerable because of local anti-pit bull ordinances, Bella is subject, under certain circumstances, to impoundment and even euthanasia. So Lucas decides to send her away to live with Olivia’s sister in New Mexico until he and Terri can move to a new house beyond the city limits.

Not realizing the arrangement is temporary, Bella resolves to make her own way back to Lucas. Along the grueling 400-mile journey that follows, she faces various dangers, some of them much too scary for little viewers. These include a showdown with a pack of wolves and an encounter with Axel (Edward James Olmos), an ill-fated homeless man.

Bella also finds shelter, briefly, with a gay couple. Though the two men could initially be taken for friends out on a skiing expedition, once they bring Bella to the home they share the nature of their bond becomes unmistakable.

The film contains considerable peril and a benignly viewed homosexual relationship. The Catholic News Service classification is A-III — adults. The Motion Picture Association of America rating is PG — parental guidance suggested. Some material may not be suitable for children.