You can’t change the output of the sensor. However, you can manipulate the output value from the sensor within your program.
If you get a high value when you cover the cell, you can use an IF statement to change that to a 0 or whatever you require for a return value. This is the beauty of programming.
So, you can do something like (pseudo code):
IF output > 0 THEN
output = output * -1 ' Make output value negative
ELSEIF output <= 0
output = 1
ENDIF
So, you can manipulate the output value from the sensor, but you can not change what the sensor actually returns. I think this is where you are misunderstanding something.
8-Dale