I am trying to make a mini-game on Minecraft bedrock. In the mini-game different blocks that you place activate different things, but when I tried using the red wool command it kept telling me there was an unexpected error.
The command is:
execute if -43 4 139 Minecraft:wool 14 run setblock -19 4 169 redstone_block replace
I tried everything I could,