molecular sensor activity [GO_0140299] - Virtual Fly Brain