Contents

valueDidChangeHandler

The block that the axis element calls when its value changes.

Declaration

var valueDidChangeHandler: ((any GCPhysicalInputElement, any GCAxis2DInput, GCPoint2) -> Void)? { get set }

Discussion

The block’s parameters are:

element

The element with the value that changes.

input

The input on the element that changes.

value

The value of the input when the element invokes this handler.

See Also

Getting the value