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)
- handle:
numberThe entity's script 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>