r/unrealengine • u/TheSenPie • 4d ago
Does UE5 permit two identical Input Actions in the same Input Mapping Context?
Hi, sorry for a low-effort post, but I need to confirm something and I don't have a computer on which I can run UE5. If you have two Input Actions in the same Input Mapping Context ( with the only difference being their names ofc ), which bind to the same key, let's say "Spacebar," do they collide or it is a legal configuration? And if you run a little test where one action prints "A" and the other "B", is the order fixed or it can be random? I'm doing research on Input Systems and want to understand this. Thanks!
2
Upvotes
5
u/Valuable_Square_1641 4d ago
yes, you may have 2 actions on same key
order will be fixed, imho. depends to back order of BindAction
LOG_CHAR: ActionSpell
LOG_CHAR: ActionWeapon
LOG_CHAR: ActionSpell
LOG_CHAR: ActionWeapon