Yep, the while loop is causing the issue as pointed above. While loops are typically used for specific time frames or conditions. Is there a reason why you’re using a while loop to move an object? It looks like you want this object to move forward while the game is playing, in that case you wouldn’t need a while loop since it will never stop in which case you could put it in Update or a separate method. If you wanted it to move forward over a given time then you’d need to have some sort of time value to determine when it will stop.