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
  • Constructor
  • Vector3
  • Functions
  • to_screen
  1. Csgo
  2. Datatypes

Vector3

csgo.vector3

Constructor

Vector3

container for a 3-dimensional vector.

csgo.vector3(x, y, z)

Parameter

Data type

Description

x

integer

constructor x value

y

integer

constructor y value

z

integer

constructor z value

Functions

to_screen

converts vector to screen coordinates. returns true if coordinates are on screen

to_screen( )

PreviousColorNextVector2

Last updated 2 years ago