Legal capacity is the ability of an individual to transact with others. It should be distinguished from consent, where the individual with capacity, agrees for another to commit an act involving the consenter, such as consent to sexual relations under the Sexual Offences (Scotland) Act 2009.