How do you get the current gamepad ThumbStick1 position?
this is what i used in my splitscreen testing although it might not be the best way, im pretty sure it only gets the position from the first plugged in gamepad too
local UIS = game:GetService("UserInputService")
UIS.InputChanged:connect(function(input, processed)
if input.UserInputType == Enum.UserInputType.Gamepad1 then
if input.KeyCode == Enum.KeyCode.Thumbstick1 then
print(input.Position.X, input.Position.Y)
end
end
end)
6 Likes