Temporarily Disable Look Input

Good afternoon, I am trying to temporarily disable look input when a menu is on screen. I can’t use input disable or change input mode as I need character to move at the same time.

I guess in simple terms, I would like the character to be able to move, but disable IA_Look while this menu is opened (which is opened by a collision).

Thank you.

You just have to code it in the player. I don’t think there is a magic way :slight_smile:

Code in which way? Remove the mapping for look input and add them back in?

If I understand what you want to do correctly, I’d just add a bool (IsMenuActive?) and set it to true when the menu pops up, then set it to false when the menu goes away, and add a Branch at the beginning of your IA_Look to check if IsMenuActive? is True, and leave that exec pin empty. Set the False pin to go through to the normal IA_Look event code.

This?

-Marc

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.