When I start the autoclicker, it only clicks the desktop and not on chrome
To make the autoclicker work on Chrome, try running both the autoclicker program and Chrome as an administrator. This should allow the autoclicker to click on Chrome instead of just the desktop.