function
approach(value, [target], [amount])
Moves a value by an amount towards a target value but not beyond it
Name | Type | Description |
---|---|---|
value | real |
The value being moved |
target | real |
The target value (default: 0) |
amount | real |
The amount in wich the value is moved towards the target (defalut: 1) |
real
The moved value
Copyright © 2021, Milan Varady. Built on June 28, 2021 using GMDoc.