arcade-block-objects/hasLocArray.md

475 B

has locationArray property

blockObject.hasLocationArrayProperty(blockObject.create(), blockObject._locArrayProperty(LocArrayProp.myLocArray))

Checks to see if a property of type tiles.Location[] is stored inside a BlockObject using the given LocArrayProp.

Parameters

  • object: the BlockObject to check the property from
  • property: the LocArrayProp to check for existence
arcade-block-objects=github:microsoft/arcade-block-objects