Interface HitObjectItem Beta

A read-only type describing the target of a collision. In some cases, both the itemHandle and playerHandle may return as null.

Hierarchy

  • HitObject

Properties

itemHandle: null | ItemHandle

If the collision target is an item, this returns its handle. If the collision target is not an item, this returns null.

playerHandle: null | PlayerHandle

If the collision target is a player, this returns its handle. If the collision target is not a player, this returns null.

Generated using TypeDoc