Is there a type of optical sensor whose output depends on the (x-)position of a laser light on its receiving surface?
e.g.
==============================
|.................................................................|
==============================
The ....... would allow for a different level of output depending on where the light struck.
e.g.
==============================
|.................................................................|
==============================
The ....... would allow for a different level of output depending on where the light struck.