Hi and welcome!
avast! scans for active rootkits automatically a few minutes after system startup. It can be toggled on/off in Program Settings > Troubleshooting.
Inactive rootkits are detected by signature as part oif the standard scan or by the Standard Shield if they are executed.