You can use the expression:
angle(object.x,object.y,mouse.x,mouse.y)
to get the angle between the object and the mouse
So something like this should work:
system is between angles : angle(object.x,object.y,mouse.x,mouse.y) ; object.angle-20 ; object.angle+20