I’m using Mouse Button to toggle between 2 Function Calls. I put a PrintString Right After the LeftMouseButton, and the first time I Left Click I instantly get the PrintString.
But the 2nd time I Left Click there is always, always a 2 second delay before the
PrintString happens. I tried LeftMouseButton Pressed & Released as well as
RightMouseButton Pressed & Released. As well as combining the 2 MouseButtons.
No Matter how long I wait between Mouse Clicks I Always, Always get a 2 Second Delay before the system responds with PrintString.
Really Puzzled as to why this delay is always present.
Does everyone get the same delay as me? It’s easy to test!
can you show the code and the print logs?
there is a default value of 2 second display time for print strings, it sounds like might be some confusion about which string is printing or something like that. but need to see the code and output to know for sure
Problem Solved! Function I was calling with 2nd MouseClick had a very slow section in it.
For some reason the PrintString was not Printing before the 2nd Click Function was Called.
Don’t know why? I thought All Commands are executed in the order programmed. Good to know it’s not always so.
The Problem section was at the very end of a long line of commands in that function.
But for some reason the Printstring I inserted before the Function was called, didn’t Print message to screen till after the whole Function was completed.
Hard debugging things when that happens.