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

#1

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

0 Likes

#2

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

0 Likes

#3

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

0 Likes

#4

This is my modification:

This is my project 2 just open a new project:

0 Likes

#5

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