Conditioning in .inputactions file ?

Hello everyone,
So my question is fairly simple, but I could not figure out if there is a way to achieve this :

Is it possible to trigger an action only if another one if started or performed ?
I’d like to get events from a stick movement only if one of the cardinal buttons is in started or performed state.
For now, I’m always checking events from any stick movement, and in the callback I am checking if any of cardinal buttons is started or performed. Something like that :

public void FunctionCalledWhenStickMovement() {
if (*any of cardinals button started or performed*) {
// Do something
}
}

Maybe there is something to do with modifiers, but if so I could not figure out how :frowning:
Or maybe the way I do it for now is acceptable enough ?

Thank you

Oh okay nevermind, this option will actually come, if I understand well the “Input System Introduction and links” chapter, “Where is it going?” section :
Improved action system: Several enhancements to the action system are in the works.

  • Action stacks / method to have actions preempt each other’s input

I think what I want is an action being raised only if another specified action is being raised, too. (And obviously if there are inputs)

So, keep up the good work, Unity team :slight_smile: