Now I was raised in a sandbox, next to you and her
A sandbox is an open environment where you are free to be creative and there are no rules for what you can build. Kendrick was free to exercise his artistic creativity, but he lived in an environment without many of the limitations and restriction that, say, a good parent might impose, left to be on his own.
Sandboxes are one of the dirtiest things for kids to play in. Kendrick’s hometown of Compton is a dirty place to grow up, plagued by gangs, violence, and drugs.
Southern California, where he grew up, is also a desert, adding to the sand imagery.
The “you and her” refer to the people or peers he grew up with in compton and all the females were giving birth to babies that were going to be raised as “handgun holding” gang members
To help improve the meaning of these lyrics, visit "Cartoon & Cereal" by Kendrick Lamar (Ft. Gunplay) Lyrics and leave a comment on the lyrics box