#scifi nerds, I need your help identifying an #SF novel I read decades ago.
The main characters each possess some sort of device which gives them essentially infinite power. They use it to create and destroy whatever they want, to travel all over the planet, basically anything.
They don't understand how the devices work. Turns out they're connected to giant machines—maybe originally for terraforming?—that are starting to break down, and the knowledge of how to fix them has long since been lost.

@jik

The "Forbidden Planet" was published under the name W. J. Stuart (a pseudonym of Philip MacDonald).

In Forbidden Planet, the godlike capability is primarily from a planet-wide (underground) machine, not one handheld item per protagonist. It’s common for recollections to compress that into “devices” (e.g., personal access/controls) because the machine effectively makes thought into reality at planetary scale.

@mobidic I don't think this is the book I'm remembering.