> ## 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.

# firetouchinterest

> Wywoluje Real touch interest event dla dwoch BasePart instances. Pierwsze dwa argumenty musza byc Instance object i obie wartosci musza przejsc IsA("BasePart"). Argument state jest wymagany i musi byc number albo boolean. Gdy state jest number, tylko 1 staje sie true, a kazdy inny number staje sie false. Gdy state jest boolean, jego wartosc boolean jest przekazywana dalej. Jesli ktorykolwiek part nie ma touch data, albo pierwszy part nie ma overlap reference, function wraca bez wywolania czegokolwiek. Function nic nie zwraca. Dokladne znaczenie begin/end boolean przekazywanego do helper to: Nicht aus der Codebasis verifizierbar.

<div className="real-function-page">
  ```lua theme={null}
  firetouchinterest(partA: Instance, partB: Instance, state: number | boolean)
  ```

  ## Aliasy

  * `firetouchtransmitter`

  ## Argumenty

  <ParamField path={"partA"} type={"Instance"} required>
    Pierwsze Instance object. Musi przejsc IsA("BasePart"). Jego touch data i overlap reference sa uzywane w call.
  </ParamField>

  <ParamField path={"partB"} type={"Instance"} required>
    Drugie Instance object. Musi przejsc IsA("BasePart"). Jego touch data jest uzywany w call.
  </ParamField>

  <ParamField path={"state"} type={"number | boolean"} required>
    Wymagana wartosc state. Numbers sa konwertowane przez state == 1; booleans sa przekazywane bez zmian.
  </ParamField>

  ## Przykład

  Przekazuje dwie wartosci BasePart i jawna wartosc state do firetouchinterest.

  ```lua theme={null}
  local players = game:GetService("Players")
  local character = players.LocalPlayer.Character or players.LocalPlayer.CharacterAdded:Wait()
  local rootPart = character:WaitForChild("HumanoidRootPart")
  local targetPart = workspace.TouchTarget

  firetouchinterest(rootPart, targetPart, true)
  ```
</div>
