#Height Limiter

1 messages ยท Page 1 of 1 (latest)

worthy apex
#

Can this work for a specific set cords, also amazing btw ive needed this a while

topaz blade
worthy apex
buoyant tide
#

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;
}```
worthy apex
#

what if its an area

#

like 0 0 0 to 100 0 100

#

or do I have to do it for every cord set

white ermine
#

Check location is inside a box if you want an area vs one height ..