Police were called to Stonny Croft at around 6.40pm following reports of a teenager carrying a knife.
He has since been detained under The Mental Health Act and remains in hospital.
No one was injured during the incident and anyone with information is being urged to contact police on 101.