Don’t start or finish the spray run on the job surface or you get splatter - starting just before it points to the job edge starts the uniform spray pattern in time for it to be even when it hits.
I always spray L-R, R-L, L-R, R-L in even strokes stopping and restarting the spray for each change of direction outside the job periphery and ensuring the can is vertical for flat surfaces and dropping down for the next run line enough to overlap evenly and ensuring each line is parallel.
If doing a box (5 sides) you need to tilt the can so it’s at 45° down to the top edge for that run and then rotate the can nozzle right to start the left edge and rotate to continue across the face flat-on and then rotate nozzle to the left for the right end - then tilt can again upwards for the bottom edge - its best if the box to be painted has an air gap between it and the spray box back so you don’t get blowback. (It’s not good to spray down onto a job as the paint will stop flowing.)
If you paint edges and face of a box separately the overspray will create a dry dusty finish on the surfaces not being painted directly. For project boxes with a flat lid I do all surfaces of the box section (5 parts) in one set of strokes, then the lid (which for those boxes is the base)