Legality depends on local jurisdiction. Generally, it is allowed if the child is with a responsible adult or a group of friends. However, some areas set minimum ages for unaccompanied minors.
Before leaving a 13‑year‑old alone, verify both legal requirements and the cinema’s rules.