Detect When an action with composite was already used

first, sorry for my bad english :slight_smile:

in my current project i try to create action that’s gonna use more than 1 button press

okay i will create a fake context for explaing eveything better
let’s imagine i have an action Call Use Potion, which is assign to Q
i also have an action Call Punch, which is assign to Shift+Q (using the composite)

when i press Shift + Q i’m currently calling both action, so i would like to know if there is a setting to not call the “Use potion”

i know i could verify if the key was press first in the callback, but i was wondering if i really need to do that, maybe the input system already have something for that

thanks guys

Up ?

Last I checked InputSystem didn’t have a solution for this, so you would need to check if the Shift is pressed or not when you’re handling the action associated with the Q.
Although the team has plans to support this scenario, it will come in a future version.

This was discussed in the forums multiple times. For example here , here and in the documentation here.

It’s not possible right now, you will indeed need separate actions. But the fix is in the works, I hope we will land it somewhere in mid term.