Dependency injection in blueprints?

Just use a switch (here’s a list of already built-in switches for reference). Put the switch right after the input button, and the input will “switch” what it does based on the current state.