The latency that you are experiencing is network latency. Since input (you, pressing buttons on your controller/keyboard) only exists on the local client, and Verse code is running on the server, there will always be “round trip” input latency.
Unfortunately there is no workaround at this time.
That can’t be right. I was on 10 ping when doing this experiment, if this was actual network latency, shouldn’t the input trigger also be delayed?
Moreover there’s also a little glitch that allows you to send that input event almost as fast as the input trigger so I do think this is a bug and not network latency.
Sorry to interrupt but I was able to reproduce this issue on my side.
I ran the provided code on a brand new map and the results were the same.
My client ping is around 0-3ms and the function took around 1/4 of a second (0.25s).
In the other hand, using the input triggers - my function fired immediately without the 0.25s delay.
Sorry, why was this issue closed? Can we have a member of staff confirm that a 250ms delay on input events is “working as intended by design”, especially after clear counter examples have been provided? Because if that’s the case, then clearly its time to rethink the design
it triggers twice for keypress and lift off actions, so either subscribing to a function then exiting if the logic payload is false or storing the payload for the await and tying the following code to the logic result being true (for keypress)
This issue was resolved in 40.00, and the Verse Input API now shares the same amount of latency as the creative input trigger device. There is no longer an additional 250ms delay.