Skip to main content

MLStation.GetInput()

Returns the current players controller inputs. Note that this function returns the controller inputs for the local player, so only the client which the current player is local can access the inputs.

Returns:

typeDescription
UserStationInputController inputs of the current player if it is local for the client. Nil otherwise.

Usage

---@type MLStation
local mlstation;


local val0 = mlstation.GetInput()