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

# keyclick

> يرسل key down event يتبعه key up event عندما تكون Roblox window نشطة. يتم فحص وسيط keyCode كـ Lua number، وتحويله باستخدام integer conversion، ثم تحويله من Windows virtual-key code إلى scan code بواسطة Windows key mapping، وإرساله عبر keyboard input مع KEYEVENTF_SCANCODE. اذا كانت isrbxactive ستعيد false، تعود function بدون ارسال input.

<div className="real-function-page">
  ```lua theme={null}
  keyclick(keyCode: number)
  ```

  ## أسماء بديلة

  * `keytap`

  ## الوسائط

  <ParamField path={"keyCode"} type={"number"} required>
    Windows virtual-key code يقرأ كـ Lua number ويتم تحويله باستخدام integer conversion قبل استدعاء Windows key mapping.
  </ParamField>
</div>
