Way to detect when a Thumbstick is pressed in

Hi, I’m ummirdk and I’m currently looking for a way to know if the player is applying pressure to thumbstick1 or thumbstick2, I was unable to find a way to detect it via UserInputService I could only find a way to detect what direction the thumbstick is moving in, any help is appreciated! UwU

3 Likes

Enum.KeyCode.ButtonL3 - Left thumstick button
Enum.KeyCode.ButtonR3 - Reft thumstick button

userInputService.InputBegan:Connect(function(input, processed)
   if processed then return end
   if input.KeyCode == Enum.KeyCode.ButtonL3 then
      -- Left thumbstick pressed down
   end
end)
5 Likes