I searched the wiki for info if it's possible to have an interruption system working on QB64, but what I found was a simulation for old code to compile.
My idea is to have a subroutine that is called every X miliseconds, no matter what is being done in the program. Is that feasible?