simple game loop engine i made (free to use) modify it if you want, idc important variables: fps: Frames Per Second (scratch's speed) tps: Ticks Per Second (game loop's speed) broadcasts: prepare - basically a green flag click, use this instead of green flag for less lag if necessary start - the first ever frame before updates earlierupdate - the broadcast before the broadcast before the main update, put very important physics scripts and stuff here earlyupdate - broadcast before main update, put physics scripts and stuff here update - main update, put stuff that should happen as the main frame loop here display - display stuff lateupdate - update after update and display, put stuff such as a camera target update here laterupdate - update after lateupdate, put the actual camera positions and stuff like that here updatemenu - update the menus displaymenu - display the menus