Item
Beta
Readonly
Beta
handleReturns a handle that describes the object hit, or null
.
If the object hit is an item, returns ItemHandle.
If the object hit is a player, returns PlayerHandle.
If the object hit is not an item or a player, returns null
.
Refer Handles in the top page of Script Reference to know how to handle this value.
Readonly
Beta
hitDescribes a hit.
Readonly
Beta
objectDescribes the object hit.
RaycastResult.object
is deprecated.
Please use RaycastResult.handle
instead.
Generated using TypeDoc
A read-only type describing the result of a raycast.