My solution was to realise that my bluetooth portable keyboard in my bag had switched on and the arrow key was being pressed. Switching it off sorted it
Thank you Max for taking the trouble to reply.
I don't have a modern enough external keyboard to try wiith my laptop (or know anyone within reach whose I could try), but everything's pointing to my instance being a Windows 11 problem anyway. (Either recently having moved to it, or one of the Windows updates too numerous these days for me to check out each one for any issues before downloading!).
I ran into the problem about a year ago (my phone's been doing all the work since). I couldn't seem to summarise the problem in few enough words to get a single relevant result on the general web (however many pages of each one I trawled through). It was only after eliminating just about every cause except Windows that I homed in on these forums, which I've found very useful in the past. (I mistakenly thought this topic was locked (maybe as too 'old'), but have now realised I'd just forgotten to sign in).
Just a thought; I wonder how many sufferers have just assumed they had a faulty computer, instead of enough publicity being created for Microsoft to do something about it. (I'm assuming they still haven't?). I couldn't even find anything about it at Bleeping Computer. (I'm open to correction of course, and would be interested to know if there's anything about it outside here!).