> ## Documentation Index
> Fetch the complete documentation index at: https://docs.projectreal.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# getcallbackvalue

> Bir Instance uzerindeki callback property icinde saklanan Lua callback function degerini okur. Ilk arguman Instance object olmalidir ve ikinci arguman string property name olmalidir. instance reference gecerli olmalidir. property name Roblox property metadata uzerinden cozulur ve tipi LUA_CALLBACK olan bir property degerine isaret etmelidir. property descriptor yoksa, property LUA_CALLBACK degilse, callback field offset yoksa, saklanan callback yoksa, LiveLuaRef yoksa, callback farkli bir Lua global state icine aitse veya referans verilen deger function degilse function nil dondurur. Ilk callback slot callback icermediginde async callback field fallback de kontrol edilir. Function property degerini guncellemez.

<div className="real-function-page">
  ```lua theme={null}
  getcallbackvalue(instance: Instance, property: string): function | nil
  ```

  ## Aliaslar

  * `getcallbackmember`

  ## Argümanlar

  <ParamField path={"instance"} type={"Instance"} required>
    callback property incelenecek Instance object. Invalid Instance values argument error uretir.
  </ParamField>

  <ParamField path={"property"} type={"string"} required>
    Roblox property metadata ile cozumlenen string property name. Yalnizca LUA\_CALLBACK properties function dondurebilir.
  </ParamField>

  ## Dönüşler

  <ResponseField name={"callback"} type={"function | nil"}>
    callback property tarafindan saklanan Lua function veya function okunabilir bir function cozumleyemediginde nil.
  </ResponseField>

  ## Örnek

  BindableFunction.OnInvoke icinde saklanan callback function degerini okur.

  ```lua theme={null}
  local bindable = Instance.new("BindableFunction")
  bindable.OnInvoke = function(value)
      return value * 2
  end

  local callback = getcallbackvalue(bindable, "OnInvoke")
  if callback then
      print(callback(21))
  end
  ```
</div>
