Phaser API Documentation

  Version: 

Member of: Phaser.Math.Fuzzy

<static> LessThan(a, b, [epsilon])

Description:

Check whether a is fuzzily less than b.

a is fuzzily less than b if it is less than b + epsilon.

Parameters:

name type arguments Default description
a number

The first value.

b number

The second value.

epsilon number <optional> 0.0001

The epsilon.

Returns:
Description:

true if a is fuzzily less than b, otherwise false.

Type:
  • boolean
Since: 3.0.0
Source: src/math/fuzzy/LessThan.js (Line 7)