Shape Widget as toggle?

because there are many features i’ve never even tried and don’t know any better not to.
In this example logically it would seem the Shape would not do anything, so when it is attached to bypass (rightly or wrongly) what’s causing it to change color?