Is there a way to remember mouse positions?

I’m really enjoying FVWM, especially the missing features from TWM.

When I used TWM, I used different ttys for desktops. Don’t ask, it was just originally setup that way, and just never changed.

One of the benefits from using ttys as desktops is that the mouse pointer remains in it’s original location, when returning to a certain tty. I’d like to re-create this feature.

I know I can use infostore for local variables, but I don’t know how to change the value of a variable once set.
I also don’t know how to get the current position of the mouse.

Can someone point me in the right direction, or tell me if it’s even possible, please.

For updating infostore variables, you can use the InfoStoreAdd command repeatedly to change the value as many times as you want. As for mouse position, these parameters from the manpage may be relevant…