RaycastInfo

Members


x

integer

The x position of the hit block

y

integer

The y position of the hit block

z

integer

The z position of the hit block

px

number

The precise x position on the block where the hit happened

py

number

The precise y position on the block where the hit happened

pz

number

The precise z position on the block where the hit happened

isEntity

boolean

If the raycast hit an entity

isBlock

boolean

If the raycast hit a block

blockFace

integer

What face of a block did the raycast hit