Tool.setDispersionFraction

Sets the tool's dispersion fraction. This represents the accuracy of the tool, and affects the size of the player's crosshair.

Kind: Function

Environments: Game

Game

tool:setDispersionFraction( dispersion, dispersionSecondary )

Open the full Game reference

Availability: Client only

A dispersion value of 0 is perfect accuracy, whereas 1 is the worst.

Parameters:

Name Type Description
tool Tool The tool.
dispersion number The dispersion fraction.
dispersionSecondary (optional) number The secondary dispersion fraction for circles. (Optional)