Unless you have a dual processor system you can not run two functions at the same time. What you can do though is to make it appear that there are two functions running at the same time. Depending on exactly what you are trying to do you can either redesign the code so that it works how it should ( referring to your cant move once bullet shoots problem) or look up at msdn for information about how to use threads. To be honest you are probably not ready for writing multithreaded apps yet so you should look to redesign your code to take away the limitations that you have imposed in it.