changedElements()
Returns the elements that changed since the previous input state.
Declaration
func changedElements() -> (some Sequence<any GCPhysicalInputElement>)?
Mentioned in
Return Value
A sequence that contains the changed elements in no particular order.
Discussion
Returns nil if there’s no previous input state, either because this is the first input state or Game Controller discards the prior input state because the queue is full.