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.
Thank you!!!





