Phaser API Documentation

  Version: 
setAxisThreshold(value)

Description:

Sets the threshold value of all axis on this Gamepad. The value is a float between 0 and 1 and is the amount below which the axis is considered as not having been moved.

Parameters:

name type description
value number

A value between 0 and 1.

Since: 3.10.0