It’s always somewhat nonplussing (grammer?) when people say they are unclear on it. If you are past the last defender, on the opposing side of the field, when the ball is kicked to you, offsides.
It’s hard to get right though, which is different. Having both ref’d and played soccer, you absolutely need lineman watching the field closely.