{"hash":"0xA22712E8471AA08E","ns":"OBJECT","name":"_SET_OBJECT_TARGETTABLE_FOCUS","slug":"_SET_OBJECT_TARGETTABLE_FOCUS","official":false,"named":true,"luaName":"SetObjectTargettableFocus","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"object","type":"Object"},{"name":"toggle","type":"BOOL"},{"name":"weaponLock","type":"BOOL"}],"summary":"When p1 and p2 are true you can focus on the object (similar to when you focus a ped)","descriptions":[{"source":"alloc8or","format":"text","body":"When p1 and p2 are true you can focus on the object (similar to when you focus a ped)"},{"source":"vorp","format":"text","body":"focus on objects like focus on peds, p1 is to enable/disable p2 is to enable/disable focus when you have a weapon out"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/OBJECT/_SET_OBJECT_TARGETTABLE_FOCUS","markdownUrl":"https://natives.borderlinerp.com/natives/OBJECT/_SET_OBJECT_TARGETTABLE_FOCUS.md","snippets":{"lua":"SetObjectTargettableFocus(object, toggle, weaponLock)","luaInvoke":"Citizen.InvokeNative(0xA22712E8471AA08E, object, toggle, weaponLock)","js":"SetObjectTargettableFocus(object, toggle, weaponLock);","jsInvoke":"Citizen.invokeNative('0xA22712E8471AA08E', object, toggle, weaponLock);","csharp":"Function.Call((Hash)0xA22712E8471AA08E, object, toggle, weaponLock);","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."]}}