Maybe you were looking for...

Detect if the player is at a specific y level in 1.14

I am in 1.14 and I want to check if the player is at a specific Y value. I tried /execute at @a[y=10] run say hi but for some reason, this will constantly re