FYI...
When I was running Slackware/KDE/X11, I sometimes used KMouseTool
to automatically click the mouse.
Now running CachyOS/KDE/Wayland, Dwell Clicker (System
Settings -> Accessibility -> Dwell Clicker) does the same
thing. Strangely, search doesn't find it.