Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 441 Bytes

hasSprite.md

File metadata and controls

16 lines (11 loc) · 441 Bytes

has sprite property

blockObject.hasSpriteProperty(blockObject.create(), blockObject._spriteProperty(SpriteProp.mySprite))

Checks to see if a property of type Sprite is stored inside a BlockObject using the given SpriteProp.

Parameters

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