#Height Limiter
1 messages ยท Page 1 of 1 (latest)
Mmm probably i used chat gpt to generate that ๐ it works though
Yep I need this desperately for a map I'm making but not the entire map
yes check if the block position is the same as the position you specified
const pos = {x: 123, y: 64, z:303};
if (block.x === pos.x && block.y === pos.y && block.z === pos.z) {
event.cancel;
}```
what if its an area
like 0 0 0 to 100 0 100
or do I have to do it for every cord set
Check location is inside a box if you want an area vs one height ..