Hi guys! I have a project that I want developed. In that project, I have some interactable actors, such as doors. In my blueprints, I have an actor sequence that rotates the door. To trigger it, I use a “on touch input begin” node, but that has some problems. If I want to swipe the camera to look into another direction (it’s a first person game) the actor detects the touch and plays the animation. I was wondering if I could use something like an on-clicked event, where you need to press and release with your finger on the actor. That way, accidental touches would dissapear. Any help is greatly appreciated!
Sorry for the late response. Could you make the screenshots in a way that fits the blueprints? I can hardly understand what to create and where to connect the nodes to.
it’s difficult to say exactly what code you need…this piece of code will tell you what you clicked on… and there you can bind the action already
Thanks for responding to me. I want a piece of code that triggers an action if an actor is pressed and released in the same spot.