{"name":"menuAction","title":"menuAction","type":"command","url":"https://community.bistudio.com/wiki/menuAction","revid":378323,"updated":"2026-04-02T16:28:16Z","groups":["GUI Control - Menu"],"status":"ok","games":{"arma3":"1.56"},"since":"arma3 1.56","arma3_since":"1.56","description":"Returns action stored in item on given path in CT_MENU_STRIP control.","syntaxes":[{"syntax":"menuAction [idc, path]","params":[{"name":"idc","type":"Number","type_expr":"Number"},{"name":"path","type":"Tree View Path","type_expr":"Tree View Path"}],"returns":{"type":"String","type_expr":"String","description":"action"},"form":"unary","right":{"text":"[idc, path]"}},{"syntax":"control menuAction path","params":[{"name":"control","type":"Control","type_expr":"Control"},{"name":"path","type":"Tree View Path","type_expr":"Tree View Path"}],"returns":{"type":"String","type_expr":"String","description":"action"},"form":"binary","left":{"text":"control"},"right":{"text":"path"}}],"examples":[{"code":["menuAction [120, [1, 0]];"]},{"code":["findDisplay 313 displayCtrl 120 menuAction [1, 0];"]}],"see_also":["menuSetAction"]}