Id "click" is not corrected for editor default id "touch"

I follow the examples in the forum, to paste the script to my project, but no action when click the mouse, so I found this error at this line “if action_id == hash(“click”) and action.pressed then”.
This is the editor mouse default setting:
image

The following lists have the “click”, should be changed to “touch”:
Spine animation
Follow input
Message passing
Parent/Child
Spawn game object
Physics debug
Visual profiler
Button
Load texture
Down duration

Can you please link to an example that you’ve tried?

This is my modification:

This is my project 2 just open a new project:

There are 2 solutions, one is to replace “click” with “touch” for all examples on the website and second one is to change the “touch” back to “click” in the editor next time released.

1 Like