InputProcessor and if value changed

If you create simple InputProcessor and add to mouse position for example. You will see it calls only when original value changed.

Is there any way to call it every frame?
It needs when processor output value depends not from only input value, but also depends from Time for example.

Input processors are only called when a value is queried. If no one queries the value of a control in a frame, no call happens.

Also note that ATM processors cannot be stateful.

1 Like