dizelvis,
<!DOCTYPE html>
<html>
<head>
<title>Untitled</title>
<meta charset="utf-8">
<script>
const checker = ({target, which}) => target.classList.contains("regular-checkbox") && which == 1 && (target.checked = true)
document.addEventListener('mousemove', checker);
</script>
</head>
<body>
<input type="checkbox" class="regular-checkbox">
<input type="checkbox" class="regular-checkbox">
<input type="checkbox" class="regular-checkbox">
<input type="checkbox" class="regular-checkbox">
<input type="checkbox" class="regular-checkbox">
</body>
</html>