{"name":"isVehicleSensorEnabled","title":"isVehicleSensorEnabled","type":"command","url":"https://community.bistudio.com/wiki/isVehicleSensorEnabled","revid":363162,"updated":"2024-03-24T17:32:35Z","groups":["Sensors"],"status":"ok","games":{"arma3":"1.72"},"since":"arma3 1.72","arma3_since":"1.72","description":"Returns class name (to identify list based on component name) and info if given sensor is enabled.","syntaxes":[{"syntax":"vehicle isVehicleSensorEnabled componentName","params":[{"name":"vehicle","type":"Object","type_expr":"Object"},{"name":"componentName","type":"String","description":"the component's name (can either be it is \"real name\" or it is className)","type_expr":"String","text":"componentName : String - the component's name (can either be it is \"real name\" or it is className)"}],"returns":{"type":"Array","type_expr":"Array"},"form":"binary","left":{"text":"vehicle"},"right":{"text":"componentName"}}],"examples":[{"code":["vehicle player isVehicleSensorEnabled \"PassiveRadarSensorComponent\"; // [[\"PassiveRadarSensorComponent\", true]]"]}],"see_also":["listVehicleSensors","enableVehicleSensor"]}