_INVERSE_KINEMATICS_IS_ACTIVE
Returns whether a specific IK index is currently active on the ped.
Hash
0x6098139150DCC745Runtime name
InverseKinematicsIsActiveNamespaceIK
SideClient
NameCommunity guess
Docs
Since build1207
Signature
BOOL _INVERSE_KINEMATICS_IS_ACTIVE(Ped ped, int ikIndex);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
ikIndex | int | — |
Returns BOOL
Description
Returns whether a specific IK index is currently active on the ped.
Notes:
- ikIndex is the IK index to query.
- Example research usage: index 6 is used for head/look-at IK and returns true while that IK is active.
Get the ped ik activity state.
Usage
local retval = InverseKinematicsIsActive(ped, ikIndex)
-- always works, by hash
local retval = Citizen.InvokeNative(0x6098139150DCC745, ped, ikIndex, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = InverseKinematicsIsActive(ped, ikIndex);
// by hash
const retval = Citizen.invokeNative('0x6098139150DCC745', ped, ikIndex, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x6098139150DCC745, ped, ikIndex);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
alloc8or RDR3 NativeDB · VORPCORE RDR3natives
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.