From the reference libraryFiveM

Prop

ox/ox_lib/Prop.mdx

Prop

A class for object entities implementing a custom statebag interface and common entity operations.

Constructor

lib.prop:new(handle)
import { Prop } from "@overextended/ox_lib";

new Prop(handle)

Returns: Prop

Methods > setOnGround

Attempts to set the entity onto the ground.
On the server, this uses the ox_entity_setonground state and a statebag change handler.

entity:setOnGround()
entity.setOnGround()

Returns: boolean

<include>GameEntity.mdx</include>

Back to documentation