{"name":"getCruiseControl","title":"getCruiseControl","type":"command","url":"https://community.bistudio.com/wiki/getCruiseControl","revid":377878,"updated":"2026-01-04T15:56:01Z","groups":["Unit Control","Object Manipulation"],"status":"ok","games":{"arma3":"2.06"},"since":"arma3 2.06","arma3_since":"2.06","locality":{"argument":"local","effect":"local"},"description":"Returns cruise control settings set with setCruiseControl command.","syntaxes":[{"syntax":"getCruiseControl vehicle","params":[{"name":"vehicle","type":"Object","description":"the vehicle","type_expr":"Object"}],"returns":{"type":"Array","type_expr":"Array","description":"with [speedLimit, cruiseControlActive]\n- speedLimit: Number - defined speed limit - cruiseControlActive: Boolean - true if cruise control is enabled, false if only speed was limited","text":"Array with [speedLimit, cruiseControlActive]\n\n- speedLimit: Number - defined speed limit\n- cruiseControlActive: Boolean - true if cruise control is enabled, false if only speed was limited"},"form":"unary","right":{"text":"vehicle"}}],"examples":[{"code":["getCruiseControl vehicle player params [\"_speedLimit\", \"_cruiseControlActive\"];"]}],"see_also":["setCruiseControl","limitSpeed","forceSpeed","setAirplaneThrottle"]}