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
5 Likes
Would that just reference the left joystick or actually clicking that joystick?
1 Like
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
1 Like
anyone seeing this topic after all this time, im pretty sure they changed it to Enum.KeyCode.ButtonL3 for clicking down left joystick. And ButtonR3 for clicking the right joystick.
1 Like
Correct ^ mark this as solution