{"name":"isLaserOn","title":"isLaserOn","type":"command","url":"https://community.bistudio.com/wiki/isLaserOn","revid":377491,"updated":"2026-01-02T06:49:13Z","groups":["Weapons"],"status":"ok","games":{"arma3":"1.78"},"since":"arma3 1.78","arma3_since":"1.78","locality":{"argument":"local","effect":"global"},"description":"Returns true if the vehicle has its laser turned on. Not to be confused with isIRLaserOn which is for units. Main syntax is for primary gunner turret.","syntaxes":[{"syntax":"isLaserOn entity","params":[{"name":"entity","type":"Object","description":"unit or vehicle","type_expr":"Object"}],"returns":{"type":"Boolean","type_expr":"Boolean","description":"true when laser is on, false otherwise"},"form":"unary","right":{"text":"entity"}},{"syntax":"vehicle isLaserOn turret","since":"arma3 2.12","params":[{"name":"vehicle","type":"Object","description":"transport","type_expr":"Object"},{"name":"turret","type":"Turret Path","description":"[-1] for driver turret","type_expr":"Turret Path"}],"returns":{"type":"Boolean","type_expr":"Boolean","description":"true when laser is on, false otherwise"},"form":"binary","left":{"text":"vehicle"},"right":{"text":"turret"}}],"examples":[{"code":["if (isLaserOn _vehicle) then { hint \"target ready\" };"]}],"see_also":["laserTarget","enableIRLasers","isIRLaserOn"],"notes":[{"user":"Sa-Matra","date":"2022-12-27T08:27:27Z","text":"Does not mean there is actual laser object present. Returns laser designator weapon's toggle state. In other words isLaserOn can return `true` while laserTarget returns `<NULL-object>`, for example in case laser was turned on and unit left the vehicle, there would be no laser target entity anymore, while designator is still turned on."}]}