Reply To: Listening to Input events in node canvas

NodeCanvas Forums Support Listening to Input events in node canvas Reply To: Listening to Input events in node canvas

#10646
Gavalakis
Keymaster

Hello,

One way would be using a Parallel node and a Repeater like the image I’ve attached for you, but probably the best way, would be if you handle all this self-contained in a custom action task, which both checks for touch in it’s execute as well as in it’s update. If in it’s Execute there is no touch, it simply returns failure (with EndAction(false) ). Here is an example:

Let me know if this works for you.

Thanks

Join us on Discord: https://discord.gg/97q2Rjh

Attachments:
  1. Parallel.png