Redstone Comparator/BS

Java Edition:

Bedrock Edition: