I’m trying to make some action with block under cross symbol (if distance is not too high - it’s auto outlined by game engine).
I’m very surprised that there is no simple built-in way to do it.
The best which I can achieve is to use raycasting and check “is not AIR” for:
positions.add(posLocal(0, 0, i).toWorld(), pos(0, 1.62, 0))
But it isn’t perfect. I want to make it work under any angle.
What’s recommended way to get such position?
May be I can create extension to achieve it (didn’t understand from documentation if extension gives access to some native Minecraft API or it’s just block-wrappers for existing makecode/minecraft API)?