I am just trying to check if a player clicked on a specific block at a specific location, but it doesn't work. I have no idea why.
on left click on sea lantern:
distance between player's eyes and target block of player is less than 4
broadcast "y"
if location of event-block is location(36, 1, 21):
broadcast "yeah!"
when I click on the right block, it says "y" but not "yeah!" even though the block is at the location 36, 1, 21