Skip to content

Array Coordinates

SuperPhantomUser edited this page Jun 10, 2021 · 1 revision

Array Coordinates

Array coordinates are a way to input coordinates of an item into some methods.
If a method argument is "coordinates (any)" or "coordinates (array)", then Array coordinates will be acceptable.

In Array coordinates, item 0 is the row, item 1 is the column, and item 2 is the layer. Only item 0 is required.

[0, 0, 0]
// Row 0, Column 0, Layer 0
[0, 1, 2]
// Row 0, Column 1, Layer 2
[9, 3]
// Row 9, Column 3
[8]
// Row 8

Clone this wiki locally