Can I restart a project midway?

You can restart from a certain line in your gcode. Hopefully someone can chime in and explain how because I’m not that guy, but I know its possible