ccsgo_input

Usage: game.input.{field_or_method}

This type represents the game's command input system.

in_third_person

FieldRead only

Type: bool

true if currently in the third person.


get_view_angles

Method

Returns current camera view angles.

Arguments

None.

Returns

Type
Description

View angles.

Example

local ang = game.input:get_view_angles();

set_view_angles

Method

Sets new camera view angles.

Arguments

Name
Type
Description

ang

View angles.

Returns

Nothing.

Example

game.input:set_view_angles(math.vec3(0, 0, 0));

Last updated