New sensor mimics cell membrane functions