{"name":"detachChild","operator":null,"title":"detachChild","type":"command","url":"https://community.bistudio.com/wiki/detachChild","revid":378900,"updated":"2026-08-11T14:56:33Z","groups":["PhysX"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"2.22"}],"since":{"game":"arma3","name":"Arma 3","version":"2.22"},"arma3_since":"2.22","branch":null,"locality":{"argument":"local","effect":"global","server_exec":false},"exec":null,"description":"Detaches previously attached with attachChild object.","syntaxes":[{"syntax":"detachChild parent","since":null,"effect":null,"exec":null,"params":[{"name":"parent","type":"Object","optional":false,"default":null,"description":"The parent object that another object is attached to. Must be a Transport vehicle like Car/Tank (Maybe helicopter/airplane works?).","types":["Object"],"since":null,"text":"parent: Object - The parent object that another object is attached to. Must be a Transport vehicle like Car/Tank (Maybe helicopter/airplane works?)."}],"returns":{"type":"Nothing or Object","types":["Nothing","Object"],"description":null,"text":"Nothing or Object"},"form":"unary","operator":null,"left":null,"right":{"text":"parent","types":["Object"]}}],"examples":[{"text":"```sqf\n\n```","code":[]},{"text":"```sqf\n\n```","code":[]},{"text":"```sqf\n\n```","code":[]},{"text":"```sqf\n\n```","code":[]},{"text":"```sqf\n\n```","code":[]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["attachChild","childAttached","parentAttached","chainedObjects"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: PhysX","Introduced with Arma 3 version 2.22","Scripting Commands","Scripting Commands: Global Effect"]}