Im am making a uis.InputBegan
function but I don’t know the Keycode name of pressing the Left JoyStick on the Controller
2 Likes
The left Josystick would be
Enum.KeyCode.Thumbstick1
6 Likes
Would that just reference the left joystick or actually clicking that joystick?
2 Likes
that references it, to detect if its pressed do something along the lines of:
local InputService = game:GetService("UserInputService")
InputService.InputBegan:Connect(function(Input)
if Input.KeyCode == Enum.KeyCode.Thumbstick1 then
print("left thumbstick pressed!")
end
end)
1 Like
Thankyou I know how to detect input changes I was just confused on how to reference the thumb stick I was referring to