{"name":"attachedObject","title":"attachedObject","type":"command","url":"https://community.bistudio.com/wiki/attachedObject","revid":318758,"updated":"2022-05-13T09:21:27Z","groups":["Object Manipulation"],"status":"ok","games":{"arma1":"1.08","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma1 1.08","arma3_since":"0.50","description":"Returns the object a location is attached to. If the location is unattached, then objNull is returned.","syntaxes":[{"syntax":"attachedObject location","params":[{"name":"location","type":"Location","type_expr":"Location"}],"returns":{"type":"Object","type_expr":"Object"},"form":"unary","right":{"text":"location"}}],"examples":[{"code":["_locAttachedObj = attachedObject myLocation;"]}],"see_also":["attachObject","attachTo","attachedObjects","attachedTo","waypointAttachVehicle","waypointAttachedVehicle","lightAttachObject","triggerAttachVehicle"]}