when Falling
Run a task once this analog axis condition is met. This condition will be evaluated according to a falling-edge detection.
Return
Task scheduling builder
Parameters
axis
The axis of the controller.
threshold
The threshold to meet.
infix fun whenFalling(condition: Pair<Controls.Analog, (Float) -> Boolean>): Scheduler.ScheduledTask
Run a task once this analog axis condition is met. This condition will be evaluated according to a falling-edge detection.
Return
Task scheduling builder
Parameters
condition
The condition to meet.