I’m calling the UI with the collision of the actor BP. I want to hide the UI called by the player’s operation.
The image below didn’t work. What should I do?
Put a Print String
node right after the mouse click. If it does not print, it means this actor was never allowed to handle user input. It can be enabled in the Class Defaults
:
Besides that, this script will generate errors due to referencing issues. Try it like so to be safe:
You can create reference variables of the correct type by right clicking pins and promoting:
This works for almost any (?) pin in the engine.
3 Likes
Thanks for the reply!
I have one more problem.
I tried to do the same thing with the shift button.
Shift no longer responds on controller. What should I do?
I think you need to go to your shift button and uncheck “consume input” so it cant replace the shift on the controller.
1 Like
Thank you!!!
1 Like
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.