{"name":"getMarkerColor","title":"getMarkerColor","type":"command","url":"https://community.bistudio.com/wiki/getMarkerColor","revid":369401,"updated":"2024-09-03T18:43:21Z","groups":["Markers"],"status":"ok","games":{"ofp":"1.21","ofpe":"1.00","arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"ofp 1.21","arma3_since":"0.50","description":"Returns marker color for given marker.\n\n> [!NOTE]\n> This command is identical to markerColor.","syntaxes":[{"syntax":"getMarkerColor markerName","params":[{"name":"markerName","type":"String","description":"marker name","type_expr":"String"}],"returns":{"type":"String","type_expr":"String"},"form":"unary","right":{"text":"markerName"}}],"examples":[{"code":["\"MarkerOne\" setMarkerColor \"ColorBlack\";\n_color = getMarkerColor \"MarkerOne\"; // returns \"ColorBlack\""]}],"see_also":["setMarkerColor","setMarkerColorLocal"]}