Skip to content

game_control

LLEvents:on("game_control", function(id: string, buttons: number, axes: {any})
-- ...
end)

This event is raised when game controller input changes.

Parameters
id (string)
UUID of avatar supplying input
buttons (number)
32-bit mask of buttons pressed
axes ({any})
Six float values in range [-1, 1]

Add example usage here showing how to handle the game_control event in SLua/Luau.

Add additional notes, caveats, or tips specific to using this event in SLua/Luau.