Definitions of legally done according to the law The age of consent is the age at which you can legally have sex.