Skip to content
M2O Scripting APIScripting reference
Data shapeClient APIGenerated

RaycastOptions

Defined in: client/api.d.ts:1296

Optional filters for a physics raycast.

optional ignoreLocalPlayer?: boolean

Defined in: client/api.d.ts:1300

Pass through the local player’s own body. Defaults to true.


optional mask?: number

Defined in: client/api.d.ts:1305

Native collision groups bitfield (bit n = group n); defaults to solid world, vehicles, props and every ped.