Legacy Lua Api
  • Overview
  • Getting Started
    • Creating Scripts
    • Coding Scripts
    • Examples
  • Fatality
    • Render
    • Config
    • Menu
    • Callbacks
    • Math
    • Input
    • Datatypes
      • Shot
      • Lag Record
      • Shot Info
      • Config Value
  • Csgo
    • Interface Handler
      • Global Vars
      • Entity List
      • Engine Client
      • Cvar
      • Events
      • Debug Overlay
    • Datatypes
      • Color
      • Vector3
      • Vector2
      • Angle
      • Entity
      • Player
      • Cvar
      • Game Event
      • Font
      • Matrix3x4
Powered by GitBook

© 2025 - FATALITY

On this page
  • Functions
  • is_key_down
  • get_mouse_pos
  1. Fatality

Input

fatality.input

PreviousMathNextDatatypes

Last updated 2 years ago

Functions

is_key_down

returns true if the is down

input:is_key_down( key )

Parameter

Data type

Description

key

integer

get_mouse_pos

returns a with your cursor position coordinates

input:get_mouse_pos( )

virtual key
vector2
virtual key code