Documentation

Factor - Open Dev Kit Documentation

Open Dev Kit Documentation :: Game :: Input :: Factor

Game.Input.Factor
factor that is multiplied to the raw value which can be used to give more weight to certain inputs or reverse an input for the opposite axis when used in the same event

Type

Float

Lua Usage

-- Get
local float = input.Factor

-- Set
input.Factor = float

If you think anything is missing, please feel free to: submit documentation feedback on this page