How to trigger animation with Three Key Inputs?

My Leap Action requires three input to work, ctrl being the main input. Currently only works with input ctrl and forward (w), but does not trigger with jump bool variable… Any ideas on how to get this action input working with all three keys pressed? Also the ctrl is sharing a crouch Action input. Any help will be appreciated. Thanks!

Hey there, so if i understand correctly you want to be able to leap with Ctrl + W + Jump pressed? If that’s the case you can do this at least 2 ways. The first one is to have boolean variables like you have Jump Pressed? but for Ctrl and W aswell. The main question here is if there is a specific input order like Ctrl + W + Jump or it can also be W + Jump + Ctrl, etc. If order doesn’t matter then on each input you need to check if the other 2 are true to do the Leap. If order matters (assuming it’s Ctrl + W + Jump) then only on Jump do you check if the boolean variables for Ctrl and W are set to true. The other way is to simply check that on tick (or even/odd ticks if you dont want to check that every frame) all 3 variables are set to true (or use the Is Key Pressed function, but i assume you want to use the action mappings for this and not have it harcoded). Hope this helps.

Thanks for the tip will try this out! there is no specific order. Thing is for some reason when I add the jump pressed? boolean it doesn’t activate and I do need jump pressed slightly to make the leap work correctly. I’ll look into on how to use event ticks.

Let me know if it works :slight_smile: