{"hash":"0x21F00E08CBB5F37B","ns":"GRAPHICS","name":"_SET_MASK_OVERLAY","slug":"_SET_MASK_OVERLAY","official":false,"named":true,"luaName":"SetMaskOverlay","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"maskName","type":"const char*"}],"summary":"Applies a 2D fullscreen mask/overlay component to the screen.","descriptions":[{"source":"alloc8or","format":"text","body":"Applies a 2D fullscreen mask/overlay component to the screen.\nUsed in cutscenes or scripts when the player/ped looks through binoculars, scopes, or cameras.\nExample component: COMPONENT_BINOCULARS_SCOPE01.\nClear with _RESET_MASK_OVERLAY."},{"source":"vorp","format":"text","body":"Params: COMPONENT_BINOCULARS_SCOPE01"}],"examples":[],"aliases":[],"enums":[],"related":["0x5AC6E0FA028369DE"],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/GRAPHICS/_SET_MASK_OVERLAY","markdownUrl":"https://natives.borderlinerp.com/natives/GRAPHICS/_SET_MASK_OVERLAY.md","snippets":{"lua":"SetMaskOverlay(maskName)","luaInvoke":"Citizen.InvokeNative(0x21F00E08CBB5F37B, maskName)","js":"SetMaskOverlay(maskName);","jsInvoke":"Citizen.invokeNative('0x21F00E08CBB5F37B', maskName);","csharp":"Function.Call((Hash)0x21F00E08CBB5F37B, maskName);","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."]}}