{"hash":"0x873C792E07A32C8B","ns":"IK","name":"_IK_SET_FOCUS_ENTITY_FOR_PED","slug":"_IK_SET_FOCUS_ENTITY_FOR_PED","official":false,"named":true,"luaName":"IkSetFocusEntityForPed","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"targetEntity","type":"Entity"}],"summary":"Sets or clears the ped's current IK focus/target entity reference.","descriptions":[{"source":"alloc8or","format":"text","body":"Sets or clears the ped's current IK focus/target entity reference.\n\nNotes:\n- Pass 0 as targetEntity to clear/reset the current IK focus entity.\n- Commonly used alongside look-at / anim-scene transitions / TASK_CLEAR_LOOK_AT.\n- Scripts often set this to the player ped when the actor should focus the player, and reset it back to 0 when leaving that state."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/IK/_IK_SET_FOCUS_ENTITY_FOR_PED","markdownUrl":"https://natives.borderlinerp.com/natives/IK/_IK_SET_FOCUS_ENTITY_FOR_PED.md","snippets":{"lua":"IkSetFocusEntityForPed(ped, targetEntity)","luaInvoke":"Citizen.InvokeNative(0x873C792E07A32C8B, ped, targetEntity)","js":"IkSetFocusEntityForPed(ped, targetEntity);","jsInvoke":"Citizen.invokeNative('0x873C792E07A32C8B', ped, targetEntity);","csharp":"Function.Call((Hash)0x873C792E07A32C8B, ped, targetEntity);","notes":["The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}