Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:3.9.0

Description

Description:Scales the laser beam width.

Syntax

Syntax:light setLaserWidth brightness
Parameters:
  • light: Object - Laser object.
  • brightness: Number - Brightness between 0 (no beam) - 1 (full beam).
Return Value:Nothing

Examples

Examples:
_laser setLaserWidth 0.5; // scales the laser beam width to half

Additional Information

See also: setVehicleLaseTarget
Multiplayer:
Problems:

Notes