How to avoid delay when pressing trigger buttons on Quest?

When press one of the trigger buttons down on my VR controller. There is a ~0.5 second delay until its registered. Is there a workaround? for example Edgeworks somehow gets around it. How do they do that?

are you using UserInputService?

There is a delay when you use UserInputService.InputBegan, the workaround for this is to use:

UserInput.InputBegan:Connect(function(Input)
    if Input.KeyCode == Enum.KeyCode then
        if Input.Delta.Z >= 0.25 then
          "Code to Perform"
       end
    end
end)
2 Likes